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.

34 lines
680 B

#error Please include <lighttpd/base.h> instead of this file
union option_value {
gpointer ptr;
gint64 number;
gboolean boolean;
/* some common pointer types */
GString *string;
GArray *list;
GHashTable *hash;
action *action;
condition *cond;
struct option_set {
size_t ndx;
option_value value;
server_option *sopt;
/* Extract content from value, value set to none */
LI_API option_value value_extract(value *val);
LI_API gpointer value_extract_ptr(value *val);
LI_API gint64 value_extract_number(value *val);
LI_API gboolean value_extract_bool(value *val);