1/* $Id: miniwget.h,v 1.9 2014/06/10 09:44:55 nanard Exp $ */ 2/* Project : miniupnp 3 * Author : Thomas Bernard 4 * Copyright (c) 2005-2012 Thomas Bernard 5 * This software is subject to the conditions detailed in the 6 * LICENCE file provided in this distribution. 7 * */ 8#ifndef MINIWGET_H_INCLUDED 9#define MINIWGET_H_INCLUDED 10 11#include "declspec.h" 12#include "miniupnpc.h" 13 14#ifdef __cplusplus 15extern "C" { 16#endif 17 18MINIUPNP_LIBSPEC void * getHTTPResponse(int s, int * size, struct UPNPDevInfo *devinfo); 19 20MINIUPNP_LIBSPEC void * miniwget(const char *, int *, unsigned int, struct UPNPDevInfo *devinfo); 21 22MINIUPNP_LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int, unsigned int, struct UPNPDevInfo *devinfo, char *dut_addr); 23 24int parseURL(const char *, char *, unsigned short *, char * *, unsigned int *); 25 26#ifdef __cplusplus 27} 28#endif 29 30#endif 31 32