Monero
Loading...
Searching...
No Matches
minissdpc.h File Reference
#include "miniupnpc_declspec.h"
#include "upnpdev.h"
Include dependency graph for minissdpc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MINISSDPC_SUCCESS   (0)
#define MINISSDPC_UNKNOWN_ERROR   (-1)
#define MINISSDPC_SOCKET_ERROR   (-101)
#define MINISSDPC_MEMORY_ERROR   (-102)
#define MINISSDPC_INVALID_INPUT   (-103)
#define MINISSDPC_INVALID_SERVER_REPLY   (-104)

Functions

MINIUPNP_LIBSPEC struct UPNPDevgetDevicesFromMiniSSDPD (const char *devtype, const char *socketpath, int *error)
MINIUPNP_LIBSPEC int connectToMiniSSDPD (const char *socketpath)
MINIUPNP_LIBSPEC int disconnectFromMiniSSDPD (int s)
MINIUPNP_LIBSPEC int requestDevicesFromMiniSSDPD (int s, const char *devtype)
MINIUPNP_LIBSPEC struct UPNPDevreceiveDevicesFromMiniSSDPD (int s, int *error)
MINIUPNP_LIBSPEC struct UPNPDevssdpDiscoverDevices (const char *const deviceTypes[], int delay, const char *multicastif, int localport, int ipv6, unsigned char ttl, int *error, int searchalltypes)

Macro Definition Documentation

◆ MINISSDPC_INVALID_INPUT

#define MINISSDPC_INVALID_INPUT   (-103)

◆ MINISSDPC_INVALID_SERVER_REPLY

#define MINISSDPC_INVALID_SERVER_REPLY   (-104)

◆ MINISSDPC_MEMORY_ERROR

#define MINISSDPC_MEMORY_ERROR   (-102)

◆ MINISSDPC_SOCKET_ERROR

#define MINISSDPC_SOCKET_ERROR   (-101)

◆ MINISSDPC_SUCCESS

#define MINISSDPC_SUCCESS   (0)

◆ MINISSDPC_UNKNOWN_ERROR

#define MINISSDPC_UNKNOWN_ERROR   (-1)

Function Documentation

◆ connectToMiniSSDPD()

MINIUPNP_LIBSPEC int connectToMiniSSDPD ( const char * socketpath)

◆ disconnectFromMiniSSDPD()

MINIUPNP_LIBSPEC int disconnectFromMiniSSDPD ( int s)

◆ getDevicesFromMiniSSDPD()

MINIUPNP_LIBSPEC struct UPNPDev * getDevicesFromMiniSSDPD ( const char * devtype,
const char * socketpath,
int * error )

◆ receiveDevicesFromMiniSSDPD()

MINIUPNP_LIBSPEC struct UPNPDev * receiveDevicesFromMiniSSDPD ( int s,
int * error )

◆ requestDevicesFromMiniSSDPD()

MINIUPNP_LIBSPEC int requestDevicesFromMiniSSDPD ( int s,
const char * devtype )

◆ ssdpDiscoverDevices()

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 )