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