summaryrefslogtreecommitdiff
path: root/rtuser.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-07 21:44:51 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-07 21:44:51 +0800
commit7b649aee5d672b791b33a93a6dc9730c22e88068 (patch)
treeab901b1baf491c3655eb7a7ddd1cc022c80f848b /rtuser.h
parentf7ba1ecac822d0fad68ef768016d96cf30b5e77e (diff)
Preparing the user function to return info
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