You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
949 B

15 years ago
#include "settings.h"
#define CONST_STR_LEN(x) (x), (x) ? sizeof(x) - 1 : 0
15 years ago
#define GSTR_LEN(x) (x) ? (x)->str : "", (x) ? (x)->len : 0
/* we don't use ev_init for now (stupid alias warnings), as ev_init
* just does set some values to zero and calls ev_set_cb.
* But every structure we allacote is initialized with zero, so we don't care
* about that.
* If this ever changes, we can easily use ev_init again.
#define my_ev_init(ev, cb) ev_set_cb(ev, cb)
typedef enum {
} transfer_encoding_t;
15 years ago
struct server;
typedef struct server server;
struct connection;
typedef struct connection connection;
#include "server.h"
15 years ago
#include "actions.h"
#include "options.h"
#include "plugin.h"
15 years ago
#include "request.h"
#include "response.h"
#include "log.h"
15 years ago
#include "connection.h"
15 years ago
#define SERVER_VERSION ((guint) 0x01FF0000)
15 years ago