X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Futils.h;h=8bb125a1214e801ac513688f8395a0a15363d6b8;hb=52f740b87344f474ce15e0c9bb4a1ae800f57aac;hp=f08d2eb6b56f47f59743ca0fd315d84750dfbfcf;hpb=11bc4a9184f7df69603cad32f582b907233d03bf;p=lttng-tools.git diff --git a/src/common/utils.h b/src/common/utils.h index f08d2eb6b..8bb125a12 100644 --- a/src/common/utils.h +++ b/src/common/utils.h @@ -47,5 +47,6 @@ 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); +int utils_create_lock_file(const char *filepath); #endif /* _COMMON_UTILS_H */