Whamcloud - gitweb
b=20814 enable frame pointers for rhel5 kernels
[fs/lustre-release.git] / libcfs / include / libcfs / libcfs_string.h
index 72a5ef9..b81ce36 100644 (file)
@@ -48,5 +48,8 @@
 int libcfs_str2mask(const char *str, const char *(*bit2str)(int bit),
                     int *oldmask, int minmask, int allmask);
 
-
+/* Allocate space for and copy an existing string.
+ * Must free with cfs_free().
+ */
+char *libcfs_strdup(const char *str, u_int32_t flags);
 #endif