godot/thirdparty/miniupnpc/src/portlistingparse.c

/* $Id: portlistingparse.c,v 1.9 2015/07/15 12:41:13 nanard Exp $ */
/* MiniUPnP project
 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
 * (c) 2011-2020 Thomas Bernard
 * This software is subject to the conditions detailed
 * in the LICENCE file provided within the distribution */
#include <string.h>
#include <stdlib.h>
#ifdef DEBUG
#include <stdio.h>
#endif /* DEBUG */
#include "portlistingparse.h"
#include "minixml.h"

#if defined(__HAIKU__)
/* rename our private function because Haiku already defines a atoui() function */
#define atoui
#endif 

/* list of the elements */
static const struct {} elements[] =;

/* Helper function */
static UNSIGNED_INTEGER
atoui(const char * p, int l)
{}

/* Start element handler */
static void
startelt(void * d, const char * name, int l)
{}

/* End element handler */
static void
endelt(void * d, const char * name, int l)
{}

/* Data handler */
static void
data(void * d, const char * data, int l)
{}


/* Parse the PortMappingList XML document for IGD version 2
 */
void
ParsePortListing(const char * buffer, int bufsize,
                 struct PortMappingParserData * pdata)
{}

void
FreePortListing(struct PortMappingParserData * pdata)
{}