You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
622 B
C
35 lines
622 B
C
#ifndef _LIGHTTPD_BASE_H_
|
|
#define _LIGHTTPD_BASE_H_
|
|
|
|
#include "settings.h"
|
|
|
|
#define CONST_STR_LEN(x) (x), (x) ? sizeof(x) - 1 : 0
|
|
|
|
#define GSTR_LEN(x) (x) ? (x)->str : "", (x) ? (x)->len : 0
|
|
|
|
typedef enum {
|
|
HTTP_TRANSFER_ENCODING_IDENTITY,
|
|
HTTP_TRANSFER_ENCODING_CHUNKED
|
|
} transfer_encoding_t;
|
|
|
|
struct server;
|
|
typedef struct server server;
|
|
|
|
struct connection;
|
|
typedef struct connection connection;
|
|
|
|
|
|
#include "server.h"
|
|
#include "actions.h"
|
|
#include "options.h"
|
|
#include "plugin.h"
|
|
#include "request.h"
|
|
#include "response.h"
|
|
#include "log.h"
|
|
|
|
#include "connection.h"
|
|
|
|
#define SERVER_VERSION ((guint) 0x01FF0000)
|
|
|
|
#endif
|