#include <string.h>
#include <stdlib.h>
#ifdef DEBUG
#include <stdio.h>
#endif
#include "portlistingparse.h"
#include "minixml.h"
#if defined(__HAIKU__)
#define atoui …
#endif
static const struct { … } elements[] = …;
static UNSIGNED_INTEGER
atoui(const char * p, int l)
{ … }
static void
startelt(void * d, const char * name, int l)
{ … }
static void
endelt(void * d, const char * name, int l)
{ … }
static void
data(void * d, const char * data, int l)
{ … }
void
ParsePortListing(const char * buffer, int bufsize,
struct PortMappingParserData * pdata)
{ … }
void
FreePortListing(struct PortMappingParserData * pdata)
{ … }