diff options
Diffstat (limited to 'include/globals.h')
-rw-r--r-- | include/globals.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/globals.h b/include/globals.h index bd5fdb621..4a01e454e 100644 --- a/include/globals.h +++ b/include/globals.h @@ -19,9 +19,21 @@ #include <map> #include <vector> +/** A cached text file stored with its contents as lines + */ typedef std::deque<std::string> file_cache; + +/** A configuration key and value pair + */ typedef std::pair< std::string, std::string > KeyVal; + +/** A list of related configuration keys and values + */ typedef std::vector< KeyVal > KeyValList; + +/** An entire config file, built up of KeyValLists + */ typedef std::multimap< std::string, KeyValList > ConfigDataHash; #endif + |