Add a copy method to lttng_directory_handle
[lttng-tools.git] / src / common / compat / directory-handle.h
index 7d2cab339fc28ad15752d6a2652679e3a7df359e..ceebc941e724ea690003698eb7c469789f3f2dba 100644 (file)
@@ -55,6 +55,13 @@ LTTNG_HIDDEN
 int lttng_directory_handle_init_from_dirfd(
                struct lttng_directory_handle *handle, int dirfd);
 
+/*
+ * Copy a directory handle.
+ */
+LTTNG_HIDDEN
+int lttng_directory_handle_copy(const struct lttng_directory_handle *handle,
+               struct lttng_directory_handle *new_copy);
+
 /*
  * Release the resources of a directory handle.
  */
This page took 0.025401 seconds and 5 git commands to generate.