summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-12-09 23:55:27 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-12-09 23:55:27 +0000
commita8af085a741562fec1e32f338ba723232832f523 (patch)
tree412f12f7649d44ca0c0ba886eac54ab8d1821cd0 /pw/pw.h
parent6329584bf610f8d5f44eed0d0c51f3df949807a1 (diff)
downloadpw-darwin-a8af085a741562fec1e32f338ba723232832f523.tar.gz
pw-darwin-a8af085a741562fec1e32f338ba723232832f523.tar.zst
pw-darwin-a8af085a741562fec1e32f338ba723232832f523.zip
Upgrade from the author, reflecting all my wishes resulting out of the
sysinstall use of this tool (plus some bug fixes). 2.2 candidate... Submitted by: David Nugent <davidn@nserver.usn.blaze.net.au>
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/pw/pw.h b/pw/pw.h
index 8635f44..26110f5 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -43,6 +43,7 @@
#include <pwd.h>
#include <grp.h>
#include <sys/queue.h>
+#include <sysexits.h>
#include "psdate.h"
@@ -52,6 +53,7 @@ enum _mode
M_DELETE,
M_UPDATE,
M_PRINT,
+ M_NEXT,
M_NUM
};
@@ -62,21 +64,6 @@ enum _which
W_NUM
};
-enum _excode
-{
- X_ALLOK,
- X_CMDERR,
- X_PERMERR,
- X_MEMERR,
- X_NOUPDATE,
- X_NOTFOUND,
- X_UPDERROR,
- X_TOOMANY,
- X_EXISTS,
- X_DBERROR,
- X_CONFIG
-};
-
struct carg
{
int ch;