summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.h
diff options
context:
space:
mode:
Diffstat (limited to 'pw/pwupd.h')
-rw-r--r--pw/pwupd.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/pw/pwupd.h b/pw/pwupd.h
index 7fecffb..054c5a5 100644
--- a/pw/pwupd.h
+++ b/pw/pwupd.h
@@ -76,16 +76,29 @@ 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 */
- time_t expire_days; /* Days to expiry */
- time_t password_days; /* Days to password expiry */
+ int expire_days; /* Days to expiry */
+ int 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;