#include "upnpreplyparse.h"
#include "declspec.h"
Go to the source code of this file.
Defines | |
#define | UPNPCOMMAND_SUCCESS (0) |
#define | UPNPCOMMAND_UNKNOWN_ERROR (-1) |
#define | UPNPCOMMAND_INVALID_ARGS (-2) |
Functions | |
LIBSPEC unsigned int | UPNP_GetTotalBytesSent (const char *controlURL, const char *servicetype) |
LIBSPEC unsigned int | UPNP_GetTotalBytesReceived (const char *controlURL, const char *servicetype) |
LIBSPEC unsigned int | UPNP_GetTotalPacketsSent (const char *controlURL, const char *servicetype) |
LIBSPEC unsigned int | UPNP_GetTotalPacketsReceived (const char *controlURL, const char *servicetype) |
LIBSPEC int | UPNP_GetStatusInfo (const char *controlURL, const char *servicetype, char *status, unsigned int *uptime, char *lastconnerror) |
LIBSPEC int | UPNP_GetConnectionTypeInfo (const char *controlURL, const char *servicetype, char *connectionType) |
LIBSPEC int | UPNP_GetExternalIPAddress (const char *controlURL, const char *servicetype, char *extIpAdd) |
LIBSPEC int | UPNP_GetLinkLayerMaxBitRates (const char *controlURL, const char *servicetype, unsigned int *bitrateDown, unsigned int *bitrateUp) |
LIBSPEC int | UPNP_AddPortMapping (const char *controlURL, const char *servicetype, const char *extPort, const char *inPort, const char *inClient, const char *desc, const char *proto) |
LIBSPEC int | UPNP_DeletePortMapping (const char *controlURL, const char *servicetype, const char *extPort, const char *proto) |
LIBSPEC int | UPNP_GetPortMappingNumberOfEntries (const char *controlURL, const char *servicetype, unsigned int *num) |
LIBSPEC int | UPNP_GetSpecificPortMappingEntry (const char *controlURL, const char *servicetype, const char *extPort, const char *proto, char *intClient, char *intPort) |
LIBSPEC int | UPNP_GetGenericPortMappingEntry (const char *controlURL, const char *servicetype, const char *index, char *extPort, char *intClient, char *intPort, char *protocol, char *desc, char *enabled, char *rHost, char *duration) |
#define UPNPCOMMAND_INVALID_ARGS (-2) |
Definition at line 16 of file upnpcommands.h.
#define UPNPCOMMAND_SUCCESS (0) |
Definition at line 14 of file upnpcommands.h.
Referenced by UPNPControlThread::disablePort(), and UPNPControlThread::forwardPort().
#define UPNPCOMMAND_UNKNOWN_ERROR (-1) |
Definition at line 15 of file upnpcommands.h.
LIBSPEC int UPNP_AddPortMapping | ( | const char * | controlURL, | |
const char * | servicetype, | |||
const char * | extPort, | |||
const char * | inPort, | |||
const char * | inClient, | |||
const char * | desc, | |||
const char * | proto | |||
) |
Referenced by UPNPControlThread::forwardPort().
LIBSPEC int UPNP_DeletePortMapping | ( | const char * | controlURL, | |
const char * | servicetype, | |||
const char * | extPort, | |||
const char * | proto | |||
) |
Referenced by UPNPControlThread::disablePort().
LIBSPEC int UPNP_GetConnectionTypeInfo | ( | const char * | controlURL, | |
const char * | servicetype, | |||
char * | connectionType | |||
) |
LIBSPEC int UPNP_GetExternalIPAddress | ( | const char * | controlURL, | |
const char * | servicetype, | |||
char * | extIpAdd | |||
) |
LIBSPEC int UPNP_GetGenericPortMappingEntry | ( | const char * | controlURL, | |
const char * | servicetype, | |||
const char * | index, | |||
char * | extPort, | |||
char * | intClient, | |||
char * | intPort, | |||
char * | protocol, | |||
char * | desc, | |||
char * | enabled, | |||
char * | rHost, | |||
char * | duration | |||
) |
LIBSPEC int UPNP_GetLinkLayerMaxBitRates | ( | const char * | controlURL, | |
const char * | servicetype, | |||
unsigned int * | bitrateDown, | |||
unsigned int * | bitrateUp | |||
) |
LIBSPEC int UPNP_GetPortMappingNumberOfEntries | ( | const char * | controlURL, | |
const char * | servicetype, | |||
unsigned int * | num | |||
) |
LIBSPEC int UPNP_GetSpecificPortMappingEntry | ( | const char * | controlURL, | |
const char * | servicetype, | |||
const char * | extPort, | |||
const char * | proto, | |||
char * | intClient, | |||
char * | intPort | |||
) |
Referenced by UPNPControlThread::forwardPort().
LIBSPEC int UPNP_GetStatusInfo | ( | const char * | controlURL, | |
const char * | servicetype, | |||
char * | status, | |||
unsigned int * | uptime, | |||
char * | lastconnerror | |||
) |
LIBSPEC unsigned int UPNP_GetTotalBytesReceived | ( | const char * | controlURL, | |
const char * | servicetype | |||
) |
LIBSPEC unsigned int UPNP_GetTotalBytesSent | ( | const char * | controlURL, | |
const char * | servicetype | |||
) |
LIBSPEC unsigned int UPNP_GetTotalPacketsReceived | ( | const char * | controlURL, | |
const char * | servicetype | |||
) |
LIBSPEC unsigned int UPNP_GetTotalPacketsSent | ( | const char * | controlURL, | |
const char * | servicetype | |||
) |