* Return 0 on success or else a negative value.
*/
LTTNG_HIDDEN
-int utils_create_stream_file(char *path_name, char *file_name, uint64_t size,
+int utils_create_stream_file(const char *path_name, char *file_name, uint64_t size,
uint64_t count, int uid, int gid)
{
int ret, out_fd, flags, mode;
*
* @return 0 on success, -1 on failure.
*/
+LTTNG_HIDDEN
int utils_parse_size_suffix(char *str, uint64_t *size)
{
regex_t regex;
* Obtain the value of LTTNG_HOME environment variable, if exists.
* Otherwise returns the value of HOME.
*/
+LTTNG_HIDDEN
char *utils_get_home_dir(void)
{
char *val = NULL;