#include <netinet/in.h>
#include <sys/queue.h>
#include "config.h"
Go to the source code of this file.
◆ FLAG_ALLOW_POST
| #define FLAG_ALLOW_POST 0x100 |
◆ FLAG_ALLOW_SUB_UNSUB
| #define FLAG_ALLOW_SUB_UNSUB 0x200 |
◆ FLAG_CONTINUE
| #define FLAG_CONTINUE 0x40 |
◆ FLAG_HTML
◆ FLAG_SID
◆ FLAG_TIMEOUT
| #define FLAG_TIMEOUT 0x01 |
◆ MINIUPNPD_SERVER_STRING
| #define MINIUPNPD_SERVER_STRING OS_VERSION " " UPNP_VERSION_STRING " MiniUPnPd/" MINIUPNPD_VERSION |
◆ UPNP_VERSION_STRING
| #define UPNP_VERSION_STRING "UPnP/" UPNP_VERSION_MAJOR_STR "." UPNP_VERSION_MINOR_STR |
◆ httpCommands
| Enumerator |
|---|
| EUnknown | |
| EGet | |
| EPost | |
| ESubscribe | |
| EUnSubscribe | |
Definition at line 41 of file upnphttp.h.
◆ httpStates
| Enumerator |
|---|
| EWaitingForHttpRequest | |
| EWaitingForHttpContent | |
| ESendingContinue | |
| ESendingAndClosing | |
| EToDelete | |
Definition at line 33 of file upnphttp.h.
◆ BuildHeader_upnphttp()
| int BuildHeader_upnphttp |
( |
struct upnphttp * |
h, |
|
|
int |
respcode, |
|
|
const char * |
respmsg, |
|
|
int |
bodylen |
|
) |
| |
◆ BuildResp2_upnphttp()
| void BuildResp2_upnphttp |
( |
struct upnphttp * |
h, |
|
|
int |
respcode, |
|
|
const char * |
respmsg, |
|
|
const char * |
body, |
|
|
int |
bodylen |
|
) |
| |
◆ BuildResp_upnphttp()
| void BuildResp_upnphttp |
( |
struct upnphttp * |
, |
|
|
const char * |
, |
|
|
int |
|
|
) |
| |
◆ CloseSocket_upnphttp()
| void CloseSocket_upnphttp |
( |
struct upnphttp * |
| ) |
|
◆ Delete_upnphttp()
| void Delete_upnphttp |
( |
struct upnphttp * |
| ) |
|
◆ New_upnphttp()
◆ Process_upnphttp()
| void Process_upnphttp |
( |
struct upnphttp * |
| ) |
|
◆ SendResp_upnphttp()
| int SendResp_upnphttp |
( |
struct upnphttp * |
| ) |
|
◆ SendRespAndClose_upnphttp()
| void SendRespAndClose_upnphttp |
( |
struct upnphttp * |
| ) |
|