|
Monero
|
#include <stdlib.h>#include <unistd.h>#include <stdio.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <sys/param.h>#include <netinet/in.h>#include <arpa/inet.h>#include <syslog.h>#include <ctype.h>#include <errno.h>#include "config.h"#include "upnphttp.h"#include "upnpdescgen.h"#include "miniupnpdpath.h"#include "upnpsoap.h"#include "upnpevents.h"#include "upnputils.h"
Functions | |
| struct upnphttp * | New_upnphttp (int s) |
| void | CloseSocket_upnphttp (struct upnphttp *h) |
| void | Delete_upnphttp (struct upnphttp *h) |
| static void | ParseHttpHeaders (struct upnphttp *h) |
| static void | Send404 (struct upnphttp *h) |
| static void | Send405 (struct upnphttp *h) |
| static void | Send501 (struct upnphttp *h) |
| static const char * | findendheaders (const char *s, int len) |
| static void | sendXMLdesc (struct upnphttp *h, char *(f)(int *)) |
| static void | ProcessHTTPPOST_upnphttp (struct upnphttp *h) |
| static void | ProcessHttpQuery_upnphttp (struct upnphttp *h) |
| void | Process_upnphttp (struct upnphttp *h) |
| int | BuildHeader_upnphttp (struct upnphttp *h, int respcode, const char *respmsg, int bodylen) |
| void | BuildResp2_upnphttp (struct upnphttp *h, int respcode, const char *respmsg, const char *body, int bodylen) |
| void | BuildResp_upnphttp (struct upnphttp *h, const char *body, int bodylen) |
| int | SendResp_upnphttp (struct upnphttp *h) |
| void | SendRespAndClose_upnphttp (struct upnphttp *h) |
Variables | |
| static const char | httpresphead [] |
| void BuildResp2_upnphttp | ( | struct upnphttp * | h, |
| int | respcode, | ||
| const char * | respmsg, | ||
| const char * | body, | ||
| int | bodylen ) |
| void CloseSocket_upnphttp | ( | struct upnphttp * | h | ) |
| void Delete_upnphttp | ( | struct upnphttp * | h | ) |
| struct upnphttp * New_upnphttp | ( | int | s | ) |
|
static |
| void Process_upnphttp | ( | struct upnphttp * | h | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
| int SendResp_upnphttp | ( | struct upnphttp * | h | ) |
| void SendRespAndClose_upnphttp | ( | struct upnphttp * | h | ) |
|
static |
|
static |