projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add a copy method to lttng_directory_handle
[lttng-tools.git]
/
src
/
common
/
compat
/
directory-handle.h
diff --git
a/src/common/compat/directory-handle.h
b/src/common/compat/directory-handle.h
index 7d2cab339fc28ad15752d6a2652679e3a7df359e..ceebc941e724ea690003698eb7c469789f3f2dba 100644
(file)
--- a/
src/common/compat/directory-handle.h
+++ b/
src/common/compat/directory-handle.h
@@
-55,6
+55,13
@@
LTTNG_HIDDEN
int lttng_directory_handle_init_from_dirfd(
struct lttng_directory_handle *handle, int dirfd);
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.
*/
/*
* Release the resources of a directory handle.
*/
This page took
0.023834 seconds
and
4
git commands to generate.