Add mkdirat utils and runas wrappers
[lttng-tools.git] / src / common / utils.h
index 1221f0eec7336ee4165fcfb7b3360916e7f61599..f372bf46404ff6a5a587df3d513f0cb3a95af6ae 100644 (file)
@@ -23,6 +23,8 @@
 #include <stdint.h>
 #include <getopt.h>
 
+#include <common/compat/directory-handle.h>
+
 #define KIBI_LOG2 10
 #define MEBI_LOG2 20
 #define GIBI_LOG2 30
@@ -61,5 +63,7 @@ int utils_create_lock_file(const char *filepath);
 int utils_recursive_rmdir(const char *path);
 int utils_truncate_stream_file(int fd, off_t length);
 int utils_show_help(int section, const char *page_name, const char *help_msg);
+int utils_get_memory_available(size_t *value);
+int utils_get_memory_total(size_t *value);
 
 #endif /* _COMMON_UTILS_H */
This page took 0.023872 seconds and 4 git commands to generate.