|
Classes |
Class "wa_handler" Detail: |
struct wa_handler {
};
The webserver request handler callback structure.
Class "wa_hostdata" Detail: |
struct wa_hostdata {
char *addr;
char *host;
int port;
};
The host description structure.
Class "wa_hostdata" Variables: |
char *addr;
char *host;
int port;
Class "wa_request" Detail: |
struct wa_request {
char *args;
char *auth;
long clen;
wa_hostdata *clnt;
char *ctyp;
void *data;
wa_handler *hand;
apr_table_t *hdrs;
char *meth;
apr_pool_t *pool;
char *prot;
long rlen;
char *ruri;
char *schm;
wa_hostdata *serv;
char *user;
};
The WebApp Library HTTP request structure.
This structure encapsulates an HTTP request to be handled within the scope
of one of the configured applications.
Class "wa_request" Variables: |
char *args;
char *auth;
long clen;
wa_hostdata *clnt;
char *ctyp;
void *data;
wa_handler *hand;
apr_table_t *hdrs;
char *meth;
apr_pool_t *pool;
char *prot;
long rlen;
char *ruri;
char *schm;
wa_hostdata *serv;
char *user;
Global Functions Detail: |
const char *wa_ralloc(wa_request **r, wa_handler *h, void *d);
r
-
A pointer to where the newly allocated wa_request
structure must be allocated.
h
-
The web-server specific handler for this request.
d
-
The web-server specific data for this request.
int wa_rerror(const char *file, const int line, wa_request *r, int s, const char *fmt, ...);
r
-
The WebApp Library request structure.
s
-
The HTTP response status number.
fmt
-
The message format string (printf style).
... The parameters to the format string.
const char *wa_rfree(wa_request *r);
r
-
The request structure to destroy.
int wa_rinvoke(wa_request *r, wa_application *a);
r
-
The WebApp Library request structure.
a
-
The application to which this request needs to be forwarded.