miniwget.h 738 B

12345678910111213141516171819202122232425262728293031
  1. /* $Id: miniwget.h,v 1.10 2015/07/21 13:16:55 nanard Exp $ */
  2. /* Project : miniupnp
  3. * Author : Thomas Bernard
  4. * Copyright (c) 2005-2015 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. #include "miniupnpc_declspec.h"
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. MINIUPNP_LIBSPEC void * getHTTPResponse(int s, int * size);
  15. MINIUPNP_LIBSPEC void * miniwget(const char *, int *, unsigned int);
  16. MINIUPNP_LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int, unsigned int);
  17. int parseURL(const char *, char *, unsigned short *, char * *, unsigned int *);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif