diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-03-23 00:08:00 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-03-23 00:08:00 +0000 |
commit | 998695b2ad6d5f4083d03a25bbd497c673d8cca6 (patch) | |
tree | 943aaf25bf73a43af93277c8b1b297077a43c694 /include | |
parent | 917bd1f822158784fdec3f842eb3b2a35db7db97 (diff) | |
download | FreeBSD-src-998695b2ad6d5f4083d03a25bbd497c673d8cca6.zip FreeBSD-src-998695b2ad6d5f4083d03a25bbd497c673d8cca6.tar.gz |
Add a couple of extra #defines for special keys to be embedded in the
password databases:
#define _PW_KEYPLUSBYNUM '5' /* special +@netgroup entries */
#define _PW_KEYMINUSBYNUM '6' /* special -@netgroup entries */
#define _PW_KEYPLUSCNT '7' /* number of +@netgroup entries */
#define _PW_KEYMINUSCNT '8' /* number of -@netgroup entries */
This is to help getpwent.c in libc build the +@netgroup/-@netgroup
caches.
Diffstat (limited to 'include')
-rw-r--r-- | include/pwd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/pwd.h b/include/pwd.h index 8d51f5a..15b7b50 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -61,6 +61,10 @@ #define _PW_KEYBYNUM '2' /* stored by entry in the "file" */ #define _PW_KEYBYUID '3' /* stored by uid */ #define _PW_KEYYPENABLED '4' /* YP is enabled */ +#define _PW_KEYPLUSBYNUM '5' /* special +@netgroup entries */ +#define _PW_KEYMINUSBYNUM '6' /* special -@netgroup entries */ +#define _PW_KEYPLUSCNT '7' /* number of +@netgroup entries */ +#define _PW_KEYMINUSCNT '8' /* number of -@netgroup entries */ #define _PASSWORD_EFMT1 '_' /* extended encryption format */ |