summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.h
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-09-12 12:03:02 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-09-12 12:03:02 +0000
commitaff347fbdfba4b22ba1ce8cf07c8e3c3ef581bfb (patch)
treefa0030a91d550ec0b5d66132ae082623c7e278a9 /pw/pwupd.h
parentdfac825697674070ff717c02263d3aab9c9d62bd (diff)
parent9c04af5e0b95f4cebcc065c168ec58a4851b4764 (diff)
downloadpw-darwin-aff347fbdfba4b22ba1ce8cf07c8e3c3ef581bfb.tar.gz
pw-darwin-aff347fbdfba4b22ba1ce8cf07c8e3c3ef581bfb.zip
Finish merging from head, messed up in previous attempt
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r--pw/pwupd.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/pw/pwupd.h b/pw/pwupd.h
index 054c5a5..7fecffb 100644
--- a/pw/pwupd.h
+++ b/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;