monero/external/miniupnpc/miniwget.h

31 lines
771 B
C
Raw Normal View History

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