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