#include <common/compat/directory-handle.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#define KIBI_LOG2 10
#define MEBI_LOG2 20
#define GIBI_LOG2 30
-char *utils_partial_realpath(const char *path, char *resolved_path,
- size_t size);
char *utils_expand_path(const char *path);
char *utils_expand_path_keep_symlink(const char *path);
int utils_create_pipe(int *dst);
* - `str` is zero length
* - `str` contains invalid
*/
-LTTNG_HIDDEN
int utils_parse_unsigned_long_long(const char *str,
unsigned long long *value);
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _COMMON_UTILS_H */