Electroneum
portlistingparse.h File Reference
#include "miniupnpc_declspec.h"
#include "miniupnpctypes.h"
Include dependency graph for portlistingparse.h:

Go to the source code of this file.

Classes

struct  PortMapping
 
struct  PortMappingParserData
 

Enumerations

enum  portMappingElt {
  PortMappingEltNone , PortMappingEntry , NewRemoteHost , NewExternalPort ,
  NewProtocol , NewInternalPort , NewInternalClient , NewEnabled ,
  NewDescription , NewLeaseTime
}
 

Functions

MINIUPNP_LIBSPEC void ParsePortListing (const char *buffer, int bufsize, struct PortMappingParserData *pdata)
 
MINIUPNP_LIBSPEC void FreePortListing (struct PortMappingParserData *pdata)
 

Enumeration Type Documentation

◆ portMappingElt

Enumerator
PortMappingEltNone 
PortMappingEntry 
NewRemoteHost 
NewExternalPort 
NewProtocol 
NewInternalPort 
NewInternalClient 
NewEnabled 
NewDescription 
NewLeaseTime 

Definition at line 30 of file portlistingparse.h.

portMappingElt
@ NewProtocol
@ PortMappingEltNone
@ NewExternalPort
@ PortMappingEntry
@ NewDescription
@ NewInternalClient
@ NewEnabled
@ NewRemoteHost
@ NewLeaseTime
@ NewInternalPort

Function Documentation

◆ FreePortListing()

MINIUPNP_LIBSPEC void FreePortListing ( struct PortMappingParserData pdata)

◆ ParsePortListing()

MINIUPNP_LIBSPEC void ParsePortListing ( const char *  buffer,
int  bufsize,
struct PortMappingParserData pdata 
)