|
Electroneum
|

Go to the source code of this file.
Classes | |
| struct | upnpc_device |
| struct | upnpc_t |
Macros | |
| #define | UPNPC_OK 0 |
| #define | UPNPC_ERR_INVALID_ARGS (-1) |
| #define | UPNPC_ERR_SOCKET_FAILED (-2) |
| #define | UPNPC_ERR_BIND_FAILED (-3) |
| #define | UPNPC_ERR_UNKNOWN_STATE (-4) |
| #define | UPNPC_SSDP_READABLE 0x0001 |
| #define | UPNPC_SSDP_WRITEABLE 0x0100 |
| #define | UPNPC_HTTP_READABLE 0x0002 |
| #define | UPNPC_HTTP_WRITEABLE 0x0200 |
Typedefs | |
| typedef struct upnpc_device | upnpc_device_t |
Functions | |
| int | upnpc_init (upnpc_t *p, const char *multicastif) |
| int | upnpc_finalize (upnpc_t *p) |
| int | upnpc_get_external_ip_address (upnpc_device_t *p) |
| int | upnpc_get_link_layer_max_rate (upnpc_device_t *p) |
| int | upnpc_add_port_mapping (upnpc_device_t *p, const char *remote_host, unsigned short ext_port, unsigned short int_port, const char *int_client, const char *proto, const char *description, unsigned int lease_duration) |
| int | upnpc_process (upnpc_t *p) |
| #define UPNPC_ERR_BIND_FAILED (-3) |
Definition at line 35 of file miniupnpc-async.h.
| #define UPNPC_ERR_INVALID_ARGS (-1) |
Definition at line 33 of file miniupnpc-async.h.
| #define UPNPC_ERR_SOCKET_FAILED (-2) |
Definition at line 34 of file miniupnpc-async.h.
| #define UPNPC_ERR_UNKNOWN_STATE (-4) |
Definition at line 36 of file miniupnpc-async.h.
| #define UPNPC_HTTP_READABLE 0x0002 |
Definition at line 40 of file miniupnpc-async.h.
| #define UPNPC_HTTP_WRITEABLE 0x0200 |
Definition at line 41 of file miniupnpc-async.h.
| #define UPNPC_OK 0 |
Definition at line 32 of file miniupnpc-async.h.
| #define UPNPC_SSDP_READABLE 0x0001 |
Definition at line 38 of file miniupnpc-async.h.
| #define UPNPC_SSDP_WRITEABLE 0x0100 |
Definition at line 39 of file miniupnpc-async.h.
| typedef struct upnpc_device upnpc_device_t |
| int upnpc_add_port_mapping | ( | upnpc_device_t * | p, |
| const char * | remote_host, | ||
| unsigned short | ext_port, | ||
| unsigned short | int_port, | ||
| const char * | int_client, | ||
| const char * | proto, | ||
| const char * | description, | ||
| unsigned int | lease_duration | ||
| ) |
| int upnpc_finalize | ( | upnpc_t * | p | ) |
| int upnpc_get_external_ip_address | ( | upnpc_device_t * | p | ) |
| int upnpc_get_link_layer_max_rate | ( | upnpc_device_t * | p | ) |
| int upnpc_init | ( | upnpc_t * | p, |
| const char * | multicastif | ||
| ) |
| int upnpc_process | ( | upnpc_t * | p | ) |