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.
lighttpd2/src/server.h

37 lines
778 B

#ifndef _LIGHTTPD_SERVER_H_
#define _LIGHTTPD_SERVER_H_
struct server {
guint version;
GHashTable *plugins;
14 years ago
/* registered by plugins */
GHashTable *options; /**< const gchar* => server_option* */
GHashTable *actions; /**< const gchar* => server_action* */
GHashTable *setups; /**< const gchar* => server_setup* */
gpointer *option_def_values;
struct action_list *mainactionlist;
gboolean exiting;
GMutex *mutex; /* general mutex for accessing the various members */
/* logs */
gboolean rotate_logs;
GHashTable *logs;
struct log_t *log_stderr;
struct log_t *log_syslog;
GAsyncQueue *log_queue;
GThread *log_thread;
GMutex *log_mutex; /* manage access for the logs hashtable */
};
server* server_new();
void server_free(server* srv);
#endif