include: drop unused config-parser.h types

Apparently these are not used anywhere. Garbage-collect them, and trim
some empty lines.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 3 years ago committed by Pekka Paalanen
parent 2669853562
commit f58a3a7e1d
  1. 22
      include/libweston/config-parser.h

@ -35,26 +35,6 @@ extern "C" {
#define WESTON_CONFIG_FILE_ENV_VAR "WESTON_CONFIG_FILE" #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 { enum weston_option_type {
WESTON_OPTION_INTEGER, WESTON_OPTION_INTEGER,
WESTON_OPTION_UNSIGNED_INTEGER, WESTON_OPTION_UNSIGNED_INTEGER,
@ -121,10 +101,8 @@ int weston_config_next_section(struct weston_config *config,
struct weston_config_section **section, struct weston_config_section **section,
const char **name); const char **name);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif /* CONFIGPARSER_H */ #endif /* CONFIGPARSER_H */

Loading…
Cancel
Save