Classes | |
| class | auth_conv_tty |
| Authentication conversation handler for terminal devices. More... | |
| class | auth_conv |
| Authentication conversation handler interface. More... | |
| class | auth_message |
| Authentication messages. More... | |
| class | auth |
| Authentication handler. More... | |
| class | chroot_block_device |
| A chroot stored on an unmounted block device. More... | |
| class | chroot_config |
| Chroot configuration. More... | |
| class | chroot_file |
| A chroot stored in a file archive (tar or zip). More... | |
| class | chroot_lvm_snapshot |
| A chroot stored on an LVM logical volume (LV). More... | |
| class | chroot_plain |
| A chroot located on a mounted filesystem. More... | |
| class | chroot_source |
| A chroot may offer a "source" chroot in addition to its normal "session" copy, to allow for maintenence of the source data. More... | |
| class | chroot |
| Common chroot data. More... | |
| class | environment |
| Container of environment variables. More... | |
| class | runtime_error |
| Generic runtime error. More... | |
| class | runtime_error_custom |
| Runtime error specific to a class. More... | |
| class | keyfile |
| Configuration file parser. More... | |
| class | lock |
| Advisory locking. More... | |
| class | file_lock |
| File lock. More... | |
| class | device_lock |
| Device lock. More... | |
| class | basic_nbuf |
| Null stream buffer. More... | |
| class | basic_nostream |
| Null output stream. More... | |
| class | session |
| Session handler. More... | |
| class | sourcedeps |
| Source dependencies. More... | |
Typedefs | |
| typedef basic_nostream< char > | nostream |
| A null ostream. | |
| typedef basic_nostream< wchar_t > | wnostream |
| A wide null ostream. | |
| typedef std::vector< std::string > | string_list |
| A string vector. | |
Enumerations | |
| enum | DebugLevel { DEBUG_NONE = -1, DEBUG_NOTICE = 1, DEBUG_INFO = 2, DEBUG_WARNING = 3, DEBUG_CRITICAL = 4 } |
| Debugging level. More... | |
Functions | |
| std::ostream & | log_info () |
| Log an informational message. | |
| std::ostream & | log_warning () |
| Log a warning message. | |
| std::ostream & | log_error () |
| Log an error message. | |
| std::ostream & | log_debug (sbuild::DebugLevel level) |
| Log a debug message. | |
| std::ostream & | log_debug (DebugLevel level) |
| Log a debug message. | |
| bool | parse_value (std::string const &stringval, bool &value) |
| Parse a boolean value. | |
| bool | parse_value (std::string const &stringval, std::string &value) |
| Parse a string value. | |
| template<typename T> | |
| bool | parse_value (std::string const &stringval, T &value) |
| Parse a value. | |
| std::string | basename (std::string name, char separator= '/') |
| Strip the directory path from a filename. | |
| std::string | dirname (std::string name, char separator= '/') |
| Strip the fileame from a pathname. | |
| std::string | string_list_to_string (string_list const &list, std::string const &separator) |
| Convert a string_list into a string. | |
| string_list | split_string (std::string const &value, char separator) |
| Split a string into a string_list. | |
| std::string | find_program_in_path (std::string const &program, std::string const &path, std::string const &prefix) |
| Find a program in the PATH search path. | |
| char ** | string_list_to_strv (string_list const &str) |
| Create a string vector from a string_list. | |
| void | strv_delete (char **strv) |
| Delete a string vector. | |
Variables | |
| DebugLevel | debug_level = sbuild::DEBUG_NONE |
| The debugging level in use. | |
| nostream | cnull |
| A null ostream. | |
|
|
A null ostream.
|
|
|
A string vector.
|
|
|
A wide null ostream.
|
|
|
Debugging level.
|
|
||||||||||||
|
Strip the directory path from a filename. This is similar to basename(3).
|
|
||||||||||||
|
Strip the fileame from a pathname. This is similar to dirname(3).
|
|
||||||||||||||||
|
Find a program in the PATH search path.
|
|
|
Log a debug message.
|
|
|
Log a debug message.
|
|
|
Log an error message.
|
|
|
Log an informational message.
|
|
|
Log a warning message.
|
|
||||||||||||||||
|
Parse a value.
Here is the call graph for this function: ![]() |
|
||||||||||||
|
Parse a string value.
|
|
||||||||||||
|
Parse a boolean value.
|
|
||||||||||||
|
Split a string into a string_list. The string is split using separator as a delimiter.
|
|
||||||||||||
|
Convert a string_list into a string. The strings are concatenated using separator as a delimiter.
|
|
|
Create a string vector from a string_list. The strings in the vector, as well as the vector itself, are allocated with new, and should be freed as a whole with strv_delete.
|
|
|
Delete a string vector. The strings in the vector, as well as the vector itself, must have been previously allocated with new, for example sbuild::environment::get_strv.
|
|
|
A null ostream.
|
|
|
The debugging level in use.
|
1.4.6