2016-03-21 07:37:54 -04:00
|
|
|
/* $Id: miniwget.h,v 1.12 2016/01/24 17:24:36 nanard Exp $ */
|
2014-04-09 08:14:35 -04:00
|
|
|
/* Project : miniupnp
|
|
|
|
* Author : Thomas Bernard
|
2016-03-21 07:37:54 -04:00
|
|
|
* Copyright (c) 2005-2016 Thomas Bernard
|
2014-04-09 08:14:35 -04: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
|
|
|
|
|
2015-12-30 02:56:25 -05:00
|
|
|
#include "miniupnpc_declspec.h"
|
2014-04-09 08:14:35 -04:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2016-03-21 07:37:54 -04:00
|
|
|
MINIUPNP_LIBSPEC void * getHTTPResponse(int s, int * size, int * status_code);
|
2014-04-09 08:14:35 -04:00
|
|
|
|
2016-03-21 07:37:54 -04:00
|
|
|
MINIUPNP_LIBSPEC void * miniwget(const char *, int *, unsigned int, int *);
|
2014-04-09 08:14:35 -04:00
|
|
|
|
2016-03-21 07:37:54 -04:00
|
|
|
MINIUPNP_LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int, unsigned int, int *);
|
2014-04-09 08:14:35 -04:00
|
|
|
|
|
|
|
int parseURL(const char *, char *, unsigned short *, char * *, unsigned int *);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|