2005-03-23 20:09:02 +01:00
|
|
|
#ifndef OPTION_STRUCT_H
|
|
|
|
#define OPTION_STRUCT_H
|
|
|
|
|
2005-04-04 12:36:04 +02:00
|
|
|
/** A struct representing an option or a constant. */
|
|
|
|
typedef struct
|
|
|
|
{
|
2005-10-09 11:35:44 +02:00
|
|
|
gchar *name, *string_value;
|
2005-04-04 12:36:04 +02:00
|
|
|
gint value;
|
|
|
|
} Option;
|
|
|
|
|
2005-03-23 20:09:02 +01:00
|
|
|
/** An array of name-value pairs with an associated keyed data list for
|
|
|
|
quick access. */
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
GArray *list;
|
|
|
|
GData *datalist;
|
|
|
|
} OptionList;
|
|
|
|
|
|
|
|
#endif
|