Changeset 374 for trunk/gsdl/src/recpt/authenaction.h
- Timestamp:
- 1999-07-14T11:23:26+12:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/authenaction.h
r369 r374 19 19 #include "receptionist.h" 20 20 21 // information about a single user22 struct userinfo_t {23 void clear ();24 userinfo_t () {clear();}25 26 enum status_t {enabled, disabled, invalid, failed, permissiondenied};27 28 text_t username;29 text_t password;30 status_t status;31 text_t groups; // comma separated list32 };33 34 // information about all the users35 typedef map<text_t, userinfo_t, lttext_t> userinfo_tmap;36 37 38 21 39 22 // note: you need to tell this action about the receptionist … … 42 25 class authenaction : public action { 43 26 protected: 44 text_t passwdfile;27 text_t usersfile; 45 28 text_t keyfile; 46 29 int keydecay; 47 48 userinfo_tmap userinfo;49 30 50 31 receptionist *recpt;
Note:
See TracChangeset
for help on using the changeset viewer.