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
709 B

15 years ago
#error Please include <lighttpd/base.h> instead of this file
union liOptionValue {
gpointer ptr;
gint64 number;
gboolean boolean;
/* some common pointer types */
GString *string;
GArray *list;
GHashTable *hash;
liAction *action;
liCondition *cond;
15 years ago
struct liOptionSet {
15 years ago
size_t ndx;
liOptionValue value;
liServerOption *sopt;
15 years ago
/* Extract content from value, value set to none */
LI_API liOptionValue li_value_extract(liValue *val);
LI_API gpointer li_value_extract_ptr(liValue *val);
LI_API gint64 li_value_extract_number(liValue *val);
LI_API gboolean li_value_extract_bool(liValue *val);
15 years ago