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

41 lines
589 B

15 years ago
#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;
15 years ago
};
struct liOptionSet {
15 years ago
size_t ndx;
liOptionValue value;
15 years ago
};
struct liOptionPtrSet {
size_t ndx;
liOptionPtrValue *value;
};
15 years ago
#endif