X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Futils.h;h=2be72c20fc999e646a371b8c15fa3cc83ee51bb9;hp=a63d0a3dc5458f538cdb75a18987760bc578400c;hb=ab0ee2ca29394fa28284b94cc3c598960660404f;hpb=ef599319218f03ff160778e577cd8389a165f47c diff --git a/src/bin/lttng-sessiond/utils.h b/src/bin/lttng-sessiond/utils.h index a63d0a3dc..2be72c20f 100644 --- a/src/bin/lttng-sessiond/utils.h +++ b/src/bin/lttng-sessiond/utils.h @@ -18,10 +18,12 @@ #ifndef _LTT_UTILS_H #define _LTT_UTILS_H +struct lttng_ht; + const char *get_home_dir(void); int notify_thread_pipe(int wpipe); -int utils_create_pipe_cloexec(int *dst); -int utils_create_pipe(int *dst); -void utils_close_pipe(int *src); +void ht_cleanup_push(struct lttng_ht *ht); +int loglevels_match(int a_loglevel_type, int a_loglevel_value, + int b_loglevel_type, int b_loglevel_value, int loglevel_all_type); #endif /* _LTT_UTILS_H */