diff options
Diffstat (limited to 'src/libimcv/os_info/os_info.h')
-rw-r--r-- | src/libimcv/os_info/os_info.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libimcv/os_info/os_info.h b/src/libimcv/os_info/os_info.h index 12ff9791d..6a477ca1f 100644 --- a/src/libimcv/os_info/os_info.h +++ b/src/libimcv/os_info/os_info.h @@ -82,6 +82,14 @@ struct os_info_t { time_t (*get_uptime)(os_info_t *this); /** + * Get an OS setting (restricted to /proc, /sys, and /etc) + * + * @param name name of OS setting + * @return value of OS setting + */ + chunk_t (*get_setting)(os_info_t *this, char *name); + + /** * Enumerates over all installed packages * * @return return package enumerator |