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.

38 lines
581 B

#include "settings.h"
#define CONST_STR_LEN(x) x, x ? sizeof(x) - 1 : 0
struct server;
typedef struct server server;
struct connection;
typedef struct connection connection;
#include "plugin.h"
#include "actions.h"
#include "request.h"
struct server {
GHashTable *plugins;
size_t option_count;
GHashTable *options;
gpointer *option_def_values;
struct connection {
sock_addr dst_addr, src_addr;
GString *dst_addr_str, *src_addr_str;
action_stack action_stack;
request request;
physical physical;