summaryrefslogtreecommitdiff
path: root/lib/rpmug.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rpmug.h')
-rw-r--r--lib/rpmug.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/rpmug.h b/lib/rpmug.h
new file mode 100644
index 0000000..35e5d63
--- /dev/null
+++ b/lib/rpmug.h
@@ -0,0 +1,18 @@
+#ifndef _RPMUG_H
+#define _RPMUG_H
+
+#include <sys/types.h>
+
+const char * rpmugStashStr(const char *str);
+
+int rpmugUid(const char * name, uid_t * uid);
+
+int rpmugGid(const char * name, gid_t * gid);
+
+const char * rpmugUname(uid_t uid);
+
+const char * rpmugGname(gid_t gid);
+
+void rpmugFree(void);
+
+#endif /* _RPMUG_H */