summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r--pw/pwupd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pw/pwupd.h b/pw/pwupd.h
index 1d13511..f936483 100644
--- a/pw/pwupd.h
+++ b/pw/pwupd.h
@@ -71,6 +71,10 @@ extern struct pwf VPWF;
#define GETGRGID(gid) PWF._getgrgid(gid)
#define GETGRNAM(nam) PWF._getgrnam(nam)
+#define PWF_REGULAR 0
+#define PWF_ALT 1
+#define PWF_ROOTDIR 2
+
#define PWALTDIR() PWF._altdir
#ifndef _PATH_PWD
#define _PATH_PWD "/etc"