8 #ifndef MINISSDPC_H_INCLUDED 9 #define MINISSDPC_H_INCLUDED 15 #define MINISSDPC_SUCCESS (0) 16 #define MINISSDPC_UNKNOWN_ERROR (-1) 17 #define MINISSDPC_SOCKET_ERROR (-101) 18 #define MINISSDPC_MEMORY_ERROR (-102) 19 #define MINISSDPC_INVALID_INPUT (-103) 20 #define MINISSDPC_INVALID_SERVER_REPLY (-104) 26 #if !(defined(_WIN32) || defined(__amigaos__) || defined(__amigaos4__)) 47 int delay,
const char * multicastif,
49 int ipv6,
unsigned char ttl,
MINIUPNP_LIBSPEC int connectToMiniSSDPD(const char *socketpath)
Definition: minissdpc.c:169
MINIUPNP_LIBSPEC int disconnectFromMiniSSDPD(int fd)
Definition: minissdpc.c:216
MINIUPNP_LIBSPEC struct UPNPDev * receiveDevicesFromMiniSSDPD(int fd, int *error)
Definition: minissdpc.c:261
MINIUPNP_LIBSPEC int requestDevicesFromMiniSSDPD(int fd, const char *devtype)
Definition: minissdpc.c:224
static l_noret error(LoadState *S, const char *why)
Definition: lundump.c:39
#define MINIUPNP_LIBSPEC
Definition: miniupnpc_declspec.h:8
MINIUPNP_LIBSPEC struct UPNPDev * getDevicesFromMiniSSDPD(const char *devtype, const char *socketpath, int *error)
Definition: minissdpc.c:104
MINIUPNP_LIBSPEC struct UPNPDev * ssdpDiscoverDevices(const char *const deviceTypes[], int delay, const char *multicastif, int localport, int ipv6, unsigned char ttl, int *error, int searchalltypes)
Definition: minissdpc.c:471