8 #ifndef MINIUPNPC_H_INCLUDED 9 #define MINIUPNPC_H_INCLUDED 16 #define UPNPDISCOVER_SUCCESS (0) 17 #define UPNPDISCOVER_UNKNOWN_ERROR (-1) 18 #define UPNPDISCOVER_SOCKET_ERROR (-101) 19 #define UPNPDISCOVER_MEMORY_ERROR (-102) 22 #define MINIUPNPC_VERSION "2.0" 23 #define MINIUPNPC_API_VERSION 16 28 #define UPNP_LOCAL_PORT_ANY 0 29 #define UPNP_LOCAL_PORT_SAME 1 63 const char * minissdpdsock,
int localport,
64 int ipv6,
unsigned char ttl,
69 const char * minissdpdsock,
int localport,
70 int ipv6,
unsigned char ttl,
75 const char * minissdpdsock,
int localport,
76 int ipv6,
unsigned char ttl,
81 int delay,
const char * multicastif,
82 const char * minissdpdsock,
int localport,
83 int ipv6,
unsigned char ttl,
122 char * lanaddr,
int lanaddrlen);
134 char * lanaddr,
int lanaddrlen);
138 const char *,
unsigned int);
Definition: miniupnpc.h:98
char * controlURL_CIF
Definition: miniupnpc.h:101
MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverAll(int delay, const char *multicastif, const char *minissdpdsock, int localport, int ipv6, unsigned char ttl, int *error)
Definition: miniupnpc.c:381
char * controlURL
Definition: miniupnpc.h:99
char * controlURL_6FC
Definition: miniupnpc.h:102
MINIUPNP_LIBSPEC int UPNP_GetValidIGD(struct UPNPDev *devlist, struct UPNPUrls *urls, struct IGDdatas *data, char *lanaddr, int lanaddrlen)
Definition: miniupnpc.c:559
MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscover(int delay, const char *multicastif, const char *minissdpdsock, int localport, int ipv6, unsigned char ttl, int *error)
Definition: miniupnpc.c:357
MINIUPNP_LIBSPEC void parserootdesc(const char *, int, struct IGDdatas *)
Definition: miniupnpc.c:97
MINIUPNP_LIBSPEC int UPNPIGD_IsConnected(struct UPNPUrls *, struct IGDdatas *)
Definition: miniupnpc.c:529
const char * val
Definition: miniupnpc.h:36
static l_noret error(LoadState *S, const char *why)
Definition: lundump.c:39
MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverDevices(const char *const deviceTypes[], int delay, const char *multicastif, const char *minissdpdsock, int localport, int ipv6, unsigned char ttl, int *error, int searchalltypes)
Definition: miniupnpc.c:285
Definition: miniupnpc.h:36
#define MINIUPNP_LIBSPEC
Definition: miniupnpc_declspec.h:8
MINIUPNP_LIBSPEC int UPNP_GetIGDFromUrl(const char *rootdescurl, struct UPNPUrls *urls, struct IGDdatas *data, char *lanaddr, int lanaddrlen)
Definition: miniupnpc.c:702
MINIUPNP_LIBSPEC void FreeUPNPUrls(struct UPNPUrls *)
Definition: miniupnpc.c:512
const char * elt
Definition: miniupnpc.h:36
MINIUPNP_LIBSPEC struct UPNPDev * upnpDiscoverDevice(const char *device, int delay, const char *multicastif, const char *minissdpdsock, int localport, int ipv6, unsigned char ttl, int *error)
Definition: miniupnpc.c:398
char * rootdescURL
Definition: miniupnpc.h:103
char * simpleUPnPcommand(int, const char *, const char *, const char *, struct UPNParg *, int *)
Definition: miniupnpc.c:255
char * ipcondescURL
Definition: miniupnpc.h:100
MINIUPNP_LIBSPEC void GetUPNPUrls(struct UPNPUrls *, struct IGDdatas *, const char *, unsigned int)
Definition: miniupnpc.c:487
Definition: igd_desc_parse.h:23
struct nk_device device
Definition: nk_common.c:44