Go to the documentation of this file.
7 #ifndef __UPNPCOMMANDS_H__
8 #define __UPNPCOMMANDS_H__
14 #define UPNPCOMMAND_SUCCESS (0)
15 #define UPNPCOMMAND_UNKNOWN_ERROR (-1)
16 #define UPNPCOMMAND_INVALID_ARGS (-2)
22 #if (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
23 #define UNSIGNED_INTEGER unsigned long long
24 #define STRTOUI strtoull
26 #define UNSIGNED_INTEGER unsigned int
27 #define STRTOUI strtoul
32 const char * servicetype);
36 const char * servicetype);
40 const char * servicetype);
44 const char * servicetype);
53 const char * servicetype,
55 unsigned int * uptime,
56 char * lastconnerror);
65 const char * servicetype,
66 char * connectionType);
81 const char * servicetype,
92 const char* servicetype,
93 unsigned int * bitrateDown,
94 unsigned int * bitrateUp);
123 const char * extPort,
125 const char * inClient,
128 const char * remoteHost);
142 const char * extPort,
const char * proto,
143 const char * remoteHost);
159 const char * servicetype,
160 const char * extPort,
177 const char * servicetype,