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
commit7b695de799ec47d008ed93b25da9266cfb6d6da1 (patch)
tree4af9ee1f1c7e35c57920a545d9f3fcb9d482399f /pw/pw.h
parent843cda19dd69e914697e0dd976f67480bdd94a1d (diff)
downloadpw-darwin-7b695de799ec47d008ed93b25da9266cfb6d6da1.tar.gz
pw-darwin-7b695de799ec47d008ed93b25da9266cfb6d6da1.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;