summaryrefslogtreecommitdiff
path: root/rtuser.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtuser.h')
-rw-r--r--rtuser.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/rtuser.h b/rtuser.h
index dff3de0..9038a4a 100644
--- a/rtuser.h
+++ b/rtuser.h
@@ -1,28 +1,28 @@
#ifndef RTUSER_H
#define RTUSER_H
-typedef struct rt_user {
- unsigned int id;
- char *name;
+struct rt_user {
+ char *id;
char *password;
- char *authtoken;
+ char *name;
char *emailaddress;
- char *organization;
char *realname;
char *nickname;
- char *lang;
char *gecos;
- char *homephone;
- char *workphone;
- char *mobilephone;
- char *pagerphone;
+ char *organization;
char *address1;
char *address2;
char *city;
char *state;
char *zip;
char *country;
- char *timezone;
-} rt_user;
+ char *homephone;
+ char *workphone;
+ char *mobilephone;
+ char *pagerphone;
+ char lang[2];
+ bool privileged;
+ bool disabled;
+};
#endif // RTUSER_H