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.
 
 
 
 
 
 

40 lines
589 B

#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