2016-06-03 00:04:15 +00:00
|
|
|
/* $Id: miniwget.h,v 1.12 2016/01/24 17:24:36 nanard Exp $ */
|
2015-11-17 02:28:55 +00:00
|
|
|
/* Project : miniupnp
|
|
|
|
* Author : Thomas Bernard
|
2016-06-03 00:04:15 +00:00
|
|
|
* Copyright (c) 2005-2016 Thomas Bernard
|
2015-11-17 02:28:55 +00:00
|
|
|
* This software is subject to the conditions detailed in the
|
|
|
|
* LICENCE file provided in this distribution.
|
|
|
|
* */
|
|
|
|
#ifndef MINIWGET_H_INCLUDED
|
|
|
|
#define MINIWGET_H_INCLUDED
|
|
|
|
|
|
|
|
#include "miniupnpc_declspec.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-06-03 00:04:15 +00:00
|
|
|
MINIUPNP_LIBSPEC void * getHTTPResponse(int s, int * size, int * status_code);
|
2015-11-17 02:28:55 +00:00
|
|
|
|
2016-06-03 00:04:15 +00:00
|
|
|
MINIUPNP_LIBSPEC void * miniwget(const char *, int *, unsigned int, int *);
|
2015-11-17 02:28:55 +00:00
|
|
|
|
2016-06-03 00:04:15 +00:00
|
|
|
MINIUPNP_LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int, unsigned int, int *);
|
2015-11-17 02:28:55 +00:00
|
|
|
|
|
|
|
int parseURL(const char *, char *, unsigned short *, char * *, unsigned int *);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|