Ignore:
Timestamp:
Jul 13, 2009, 4:00:21 PM (12 years ago)
Author:
charles
Message:

(trunk third-party) #2273: update to latest libnatpmp and miniupnpc libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/third-party/miniupnp/miniupnpc.c

    r7837 r8798  
    1 /* $Id: miniupnpc.c,v 1.57 2008/12/18 17:46:36 nanard Exp $ */
     1/* $Id: miniupnpc.c,v 1.58 2009/07/09 15:59:46 nanard Exp $ */
    22/* Project : miniupnp
    33 * Author : Thomas BERNARD
     
    1111/* Win32 Specific includes and defines */
    1212#include <winsock2.h>
    13 #include <Ws2tcpip.h>
     13#include <ws2tcpip.h>
    1414#include <io.h>
    1515#define snprintf _snprintf
     
    5050
    5151/* root description parsing */
    52 void parserootdesc(const char * buffer, int bufsize, struct IGDdatas * data)
     52LIBSPEC void parserootdesc(const char * buffer, int bufsize, struct IGDdatas * data)
    5353{
    5454        struct xmlparser parser;
     
    341341 * It is up to the caller to free the chained list
    342342 * delay is in millisecond (poll) */
    343 struct UPNPDev * upnpDiscover(int delay, const char * multicastif,
     343LIBSPEC struct UPNPDev * upnpDiscover(int delay, const char * multicastif,
    344344                              const char * minissdpdsock, int sameport)
    345345{
     
    490490/* freeUPNPDevlist() should be used to
    491491 * free the chained list returned by upnpDiscover() */
    492 void freeUPNPDevlist(struct UPNPDev * devlist)
     492LIBSPEC void freeUPNPDevlist(struct UPNPDev * devlist)
    493493{
    494494        struct UPNPDev * next;
     
    526526/* Prepare the Urls for usage...
    527527 */
    528 void GetUPNPUrls(struct UPNPUrls * urls, struct IGDdatas * data,
     528LIBSPEC void GetUPNPUrls(struct UPNPUrls * urls, struct IGDdatas * data,
    529529                 const char * descURL)
    530530{
     
    569569}
    570570
    571 void
     571LIBSPEC void
    572572FreeUPNPUrls(struct UPNPUrls * urls)
    573573{
     
    627627}
    628628
    629 int
     629static int
    630630UPNPIGD_IsConnected(struct UPNPUrls * urls, struct IGDdatas * data)
    631631{
     
    656656 * free allocated memory.
    657657 */
    658 int
     658LIBSPEC int
    659659UPNP_GetValidIGD(struct UPNPDev * devlist,
    660660                 struct UPNPUrls * urls,
Note: See TracChangeset for help on using the changeset viewer.