monero/external/miniupnpc/miniwget.h

31 lines
771 B
C
Raw Normal View History

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