libzypp  12.16.5
Sysconfig.h File Reference
#include <string>
#include <map>
#include "zypp/Pathname.h"

Go to the source code of this file.

Namespaces

namespace  zypp
 Easy-to use interface to the ZYPP dependency resolver.
 
namespace  zypp::base
 
namespace  zypp::base::sysconfig
 

Functions

map< string, string > zypp::base::sysconfig::read (const Pathname &_path)
 Read sysconfig file path_r and return (key,valye) pairs.
 
bool zypp::base::sysconfig::write (const Pathname &path_r, const std::string &key_r, const std::string &val_r, const std::string &newcomment_r=std::string())
 Add or change a value in sysconfig file path_r.
 
bool zypp::base::sysconfig::writeStringVal (const Pathname &path_r, const std::string &key_r, const std::string &val_r, const std::string &newcomment_r=std::string())
 Convenience to add or change a string-value in sysconfig file path_r.