diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-07 21:44:51 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-07 21:44:51 +0800 |
commit | 7b649aee5d672b791b33a93a6dc9730c22e88068 (patch) | |
tree | ab901b1baf491c3655eb7a7ddd1cc022c80f848b /rtuser.h | |
parent | f7ba1ecac822d0fad68ef768016d96cf30b5e77e (diff) |
Preparing the user function to return info
Diffstat (limited to 'rtuser.h')
-rw-r--r-- | rtuser.h | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -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 |