libzypp  17.38.7
econfdict.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
11 #ifndef ZYPP_PARSER_ECONFDICT_H
12 #define ZYPP_PARSER_ECONFDICT_H
13 
14 #include <zypp-core/parser/IniDict>
15 #include <zypp-core/parser/ParseException>
16 #include <zypp-core/Pathname.h>
17 
18 namespace zypp::parser {
19 
35  struct EconfDict : public IniDict
36  {
37  EconfDict();
38  EconfDict( const std::string & stem_r, const Pathname & root_r = Pathname("/") );
39 
40  static Pathname defaultDistconfDir();
41  static void defaultDistconfDir( Pathname path_r );
42  };
43 } // namespace zypp::parser
44 #endif // ZYPP_PARSER_ECONFDICT_H
Parse the prioritized list of files and drop-ins to read and merge for a specific config file stem: [...
Definition: econfdict.h:35
static Pathname defaultDistconfDir()
Where the vendor configuration files live (APIConfig(LIBZYPP_ZYPPCONFDIR))
Definition: econfdict.cc:168
Parses a INI file and offers its structure as a dictionary.
Definition: inidict.h:41