Whamcloud - gitweb
LU-13224 utils: expose llapi_param* functions
[fs/lustre-release.git] / lustre / include / lustre / lustreapi.h
index 39a8090..7ed703e 100644 (file)
@@ -38,6 +38,7 @@
  * @{
  */
 
+#include <glob.h>
 #include <stdarg.h>
 #include <stdint.h>
 #include <time.h>
@@ -1118,6 +1119,10 @@ int llapi_layout_sanity(struct llapi_layout *layout, bool incomplete, bool flr);
 void llapi_layout_sanity_perror(int error);
 int llapi_layout_dom_size(struct llapi_layout *layout, uint64_t *size);
 
+int llapi_param_get_paths(const char *pattern, glob_t *paths);
+int llapi_param_get_value(const char *path, char **buf, size_t *buflen);
+void llapi_param_paths_free(glob_t *paths);
+
 /** @} llapi */
 
 #if defined(__cplusplus)