Vidalia 0.2.10
|
Go to the source code of this file.
Defines | |
#define | UPNPCOMMAND_SUCCESS (0) |
#define | UPNPCOMMAND_UNKNOWN_ERROR (-1) |
#define | UPNPCOMMAND_INVALID_ARGS (-2) |
#define | UNSIGNED_INTEGER unsigned int |
#define | STRTOUI strtoul |
Functions | |
LIBSPEC UNSIGNED_INTEGER | UPNP_GetTotalBytesSent (const char *controlURL, const char *servicetype) |
LIBSPEC UNSIGNED_INTEGER | UPNP_GetTotalBytesReceived (const char *controlURL, const char *servicetype) |
LIBSPEC UNSIGNED_INTEGER | UPNP_GetTotalPacketsSent (const char *controlURL, const char *servicetype) |
LIBSPEC UNSIGNED_INTEGER | 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, const char *remoteHost) |
LIBSPEC int | UPNP_DeletePortMapping (const char *controlURL, const char *servicetype, const char *extPort, const char *proto, const char *remoteHost) |
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 STRTOUI strtoul |
Definition at line 27 of file upnpcommands.h.
#define UNSIGNED_INTEGER unsigned int |
Definition at line 26 of file upnpcommands.h.
#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, | ||
const char * | remoteHost | ||
) |
Referenced by UPNPControlThread::forwardPort().
LIBSPEC int UPNP_DeletePortMapping | ( | const char * | controlURL, |
const char * | servicetype, | ||
const char * | extPort, | ||
const char * | proto, | ||
const char * | remoteHost | ||
) |
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_INTEGER UPNP_GetTotalBytesReceived | ( | const char * | controlURL, |
const char * | servicetype | ||
) |
LIBSPEC UNSIGNED_INTEGER UPNP_GetTotalBytesSent | ( | const char * | controlURL, |
const char * | servicetype | ||
) |
LIBSPEC UNSIGNED_INTEGER UPNP_GetTotalPacketsReceived | ( | const char * | controlURL, |
const char * | servicetype | ||
) |
LIBSPEC UNSIGNED_INTEGER UPNP_GetTotalPacketsSent | ( | const char * | controlURL, |
const char * | servicetype | ||
) |