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.
lighttpd2/include/lighttpd/options.h

41 lines
589 B
C

#ifndef _LIGHTTPD_OPTIONS_H_
#define _LIGHTTPD_OPTIONS_H_
#ifndef _LIGHTTPD_BASE_H_
#error Please include <lighttpd/base.h> instead of this file
#endif
union liOptionValue {
gint64 number;
gboolean boolean;
};
struct liOptionPtrValue {
gint refcount;
union {
gpointer ptr;
/* some common pointer types */
GString *string;
GPtrArray *list;
GHashTable *hash;
liAction *action;
liCondition *cond;
} data;
liServerOptionPtr *sopt;
};
struct liOptionSet {
size_t ndx;
liOptionValue value;
};
struct liOptionPtrSet {
size_t ndx;
liOptionPtrValue *value;
};
#endif