Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/pw/pwupd.h
| Show First 20 Lines • Show All 70 Lines • ▼ Show 20 Lines | struct userconf { | ||||
| gid_t min_gid, max_gid; /* Allowed range of gids */ | gid_t min_gid, max_gid; /* Allowed range of gids */ | ||||
| time_t expire_days; /* Days to expiry */ | time_t expire_days; /* Days to expiry */ | ||||
| time_t password_days; /* Days to password expiry */ | time_t password_days; /* Days to password expiry */ | ||||
| }; | }; | ||||
| struct pwconf { | struct pwconf { | ||||
| char rootdir[MAXPATHLEN]; | char rootdir[MAXPATHLEN]; | ||||
| char etcpath[MAXPATHLEN]; | char etcpath[MAXPATHLEN]; | ||||
| FILE *metalog; | |||||
| int fd; | int fd; | ||||
| int rootfd; | int rootfd; | ||||
| bool altroot; | bool altroot; | ||||
| bool checkduplicate; | bool checkduplicate; | ||||
| }; | }; | ||||
| extern struct pwf PWF; | extern struct pwf PWF; | ||||
| extern struct pwf VPWF; | extern struct pwf VPWF; | ||||
| ▲ Show 20 Lines • Show All 60 Lines • Show Last 20 Lines | |||||