diff --git a/include/libweston/config-parser.h b/include/libweston/config-parser.h index d82197bf..343ff53d 100644 --- a/include/libweston/config-parser.h +++ b/include/libweston/config-parser.h @@ -35,26 +35,6 @@ extern "C" { #define WESTON_CONFIG_FILE_ENV_VAR "WESTON_CONFIG_FILE" -enum config_key_type { - CONFIG_KEY_INTEGER, /* typeof data = int */ - CONFIG_KEY_UNSIGNED_INTEGER, /* typeof data = unsigned int */ - CONFIG_KEY_STRING, /* typeof data = char* */ - CONFIG_KEY_BOOLEAN /* typeof data = int */ -}; - -struct config_key { - const char *name; - enum config_key_type type; - void *data; -}; - -struct config_section { - const char *name; - const struct config_key *keys; - int num_keys; - void (*done)(void *data); -}; - enum weston_option_type { WESTON_OPTION_INTEGER, WESTON_OPTION_UNSIGNED_INTEGER, @@ -121,10 +101,8 @@ int weston_config_next_section(struct weston_config *config, struct weston_config_section **section, const char **name); - #ifdef __cplusplus } #endif #endif /* CONFIGPARSER_H */ -