12 #ifndef ZYPP_BASE_SYSCONFIG_H
13 #define ZYPP_BASE_SYSCONFIG_H
24 std::map<std::string,std::string>
read(
const Pathname & _path );
55 bool write(
const Pathname & path_r,
const std::string & key_r,
const std::string & val_r,
56 const std::string & newcomment_r = std::string() );
65 bool writeStringVal(
const Pathname & path_r,
const std::string & key_r,
const std::string & val_r,
66 const std::string & newcomment_r = std::string() );
72 #endif // ZYPP_BASE_SYSCONFIG_H
map< string, string > read(const Pathname &_path)
Read sysconfig file path_r and return (key,valye) pairs.
bool writeStringVal(const Pathname &path_r, const std::string &key_r, const std::string &val_r, const std::string &newcomment_r)
Convenience to add or change a string-value in sysconfig file path_r.
bool write(const Pathname &path_r, const std::string &key_r, const std::string &val_r, const std::string &newcomment_r)
Add or change a value in sysconfig file path_r.