From 921ce069a4770fbadad7bb4e806361e857469409 Mon Sep 17 00:00:00 2001 From: cbdev Date: Mon, 21 Jun 2021 22:03:17 +0200 Subject: Repository cleanup --- config.h | 54 ------------------------------------------------------ 1 file changed, 54 deletions(-) delete mode 100644 config.h (limited to 'config.h') diff --git a/config.h b/config.h deleted file mode 100644 index b96a866..0000000 --- a/config.h +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Channel glob type - */ -enum /*_mm_channel_glob_type */ { - glob_range, - glob_list -}; - -/* - * Channel specification glob - */ -typedef struct /*_mm_channel_glob*/ { - size_t offset[2]; - union { - void* impl; - uint64_t u64[2]; - } limits; - uint8_t type; - uint64_t values; -} channel_glob; - -/* - * (Multi-)Channel specification - */ -typedef struct /*_mm_channel_spec*/ { - char* spec; - uint8_t internal; - size_t channels; - size_t globs; - channel_glob* glob; -} channel_spec; - -/* - * Command-line override types - */ -typedef enum { - override_backend, - override_instance -} override_type; - -/* - * Command-line override data - */ -typedef struct /*_mm_config_override*/ { - override_type type; - uint8_t handled; - char* target; - char* option; - char* value; -} config_override; - -int config_read(char* file); -int config_add_override(override_type type, char* data); -void config_free(); -- cgit v1.2.3