summaryrefslogtreecommitdiff
path: root/lib/userspec.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/userspec.h')
-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 0000000..8a09eae
--- /dev/null
+++ b/lib/userspec.h
@@ -0,0 +1,10 @@
+#ifndef USERSPEC_H
+# define USERSPEC_H 1
+
+# include <sys/types.h>
+
+const char *
+parse_user_spec (const char *spec_arg, uid_t *uid, gid_t *gid,
+ char **username_arg, char **groupname_arg);
+
+#endif