Introduce a new utils_partial_realpath function
[lttng-tools.git] / src / common / utils.h
index f7241996db3d55f7dac1291a306913fc2abcdf41..036e416e78bda4e177b3f416baddef215d2ba52c 100644 (file)
@@ -26,6 +26,9 @@
 #define MEBI_LOG2 20
 #define GIBI_LOG2 30
 
+char *utils_resolve_relative(const char *path);
+char *utils_partial_realpath(const char *path, char *resolved_path,
+               size_t size);
 char *utils_expand_path(const char *path);
 int utils_create_pipe(int *dst);
 int utils_create_pipe_cloexec(int *dst);
@@ -44,5 +47,6 @@ int utils_parse_size_suffix(char *str, uint64_t *size);
 int utils_get_count_order_u32(uint32_t x);
 char *utils_get_home_dir(void);
 size_t utils_get_current_time_str(const char *format, char *dst, size_t len);
+gid_t utils_get_group_id(const char *name);
 
 #endif /* _COMMON_UTILS_H */
This page took 0.022861 seconds and 4 git commands to generate.