summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/userspec.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/userspec.h b/lib/userspec.h
new file mode 100644
index 0000000000..8f01d64d30
--- /dev/null
+++ b/lib/userspec.h
@@ -0,0 +1,10 @@
+#ifndef USERSPEC_H
+# define USERSPEC_H 1
+
+# include <stddef.h>
+
+const char *
+parse_user_spec (const char *spec_arg, uid_t *uid, gid_t *gid,
+ char **username_arg, char **groupname_arg);
+
+#endif