summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw/pwupd.h
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2015-09-12 12:03:02 +0000
committerbapt <bapt@FreeBSD.org>2015-09-12 12:03:02 +0000
commit934c5c6da6753f906bc4a905e249449fd15b850d (patch)
tree38501bd60c958b3b5474368fc0834fe6d09c307a /usr.sbin/pw/pwupd.h
parentef64c24c72a0a1e4bc5beba3e1c3d78af363773d (diff)
parentceb1e1488d523eff8fa06828cf0511fc2556c0ef (diff)
downloadFreeBSD-src-934c5c6da6753f906bc4a905e249449fd15b850d.zip
FreeBSD-src-934c5c6da6753f906bc4a905e249449fd15b850d.tar.gz
Finish merging from head, messed up in previous attempt
Diffstat (limited to 'usr.sbin/pw/pwupd.h')
-rw-r--r--usr.sbin/pw/pwupd.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/usr.sbin/pw/pwupd.h b/usr.sbin/pw/pwupd.h
index 054c5a5..7fecffb 100644
--- a/usr.sbin/pw/pwupd.h
+++ b/usr.sbin/pw/pwupd.h
@@ -76,29 +76,16 @@ struct userconf {
char *default_class; /* Default user class */
uid_t min_uid, max_uid; /* Allowed range of uids */
gid_t min_gid, max_gid; /* Allowed range of gids */
- int expire_days; /* Days to expiry */
- int password_days; /* Days to password expiry */
+ time_t expire_days; /* Days to expiry */
+ time_t password_days; /* Days to password expiry */
};
struct pwconf {
char rootdir[MAXPATHLEN];
char etcpath[MAXPATHLEN];
- char *newname;
- char *config;
- char *gecos;
int fd;
int rootfd;
- int which;
- bool quiet;
- bool force;
- bool all;
- bool dryrun;
- bool pretty;
- bool v7;
bool checkduplicate;
- bool deletehome;
- bool precrypted;
- struct userconf *userconf;
};
extern struct pwf PWF;
OpenPOWER on IntegriCloud