Fix: directory handle credentials parameter is not const
[lttng-tools.git] / src / common / compat / directory-handle.h
index a24bbd8db9ffaff76eba111a81b9fd2cc5be2098..7d2cab339fc28ad15752d6a2652679e3a7df359e 100644 (file)
@@ -78,7 +78,7 @@ LTTNG_HIDDEN
 int lttng_directory_handle_create_subdirectory_as_user(
                const struct lttng_directory_handle *handle,
                const char *subdirectory,
 int lttng_directory_handle_create_subdirectory_as_user(
                const struct lttng_directory_handle *handle,
                const char *subdirectory,
-               mode_t mode, struct lttng_credentials *creds);
+               mode_t mode, const struct lttng_credentials *creds);
 
 /*
  * Recursively create a directory relative to a directory handle.
 
 /*
  * Recursively create a directory relative to a directory handle.
@@ -97,6 +97,6 @@ LTTNG_HIDDEN
 int lttng_directory_handle_create_subdirectory_recursive_as_user(
                const struct lttng_directory_handle *handle,
                const char *subdirectory_path,
 int lttng_directory_handle_create_subdirectory_recursive_as_user(
                const struct lttng_directory_handle *handle,
                const char *subdirectory_path,
-               mode_t mode, struct lttng_credentials *creds);
+               mode_t mode, const struct lttng_credentials *creds);
 
 #endif /* _COMPAT_PATH_HANDLE_H */
 
 #endif /* _COMPAT_PATH_HANDLE_H */
This page took 0.024256 seconds and 5 git commands to generate.