summaryrefslogtreecommitdiff
path: root/rtuser.h
diff options
context:
space:
mode:
authorErik Prabowo Kamal <erik@darapsa.co.id>2019-08-27 08:11:20 +0800
committerErik Prabowo Kamal <erik@darapsa.co.id>2019-08-27 08:11:20 +0800
commit647a634d99c37d512cb4589c129985626786e9bd (patch)
tree57a0ac66f86b10dfe5095e789893ac656d64551f /rtuser.h
parent19699bd643e507f88eabac2eb43daecbd9cef0b5 (diff)
RT user model
Diffstat (limited to 'rtuser.h')
-rw-r--r--rtuser.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/rtuser.h b/rtuser.h
new file mode 100644
index 0000000..dff3de0
--- /dev/null
+++ b/rtuser.h
@@ -0,0 +1,28 @@
+#ifndef RTUSER_H
+#define RTUSER_H
+
+typedef struct rt_user {
+ unsigned int id;
+ char *name;
+ char *password;
+ char *authtoken;
+ char *emailaddress;
+ char *organization;
+ char *realname;
+ char *nickname;
+ char *lang;
+ char *gecos;
+ char *homephone;
+ char *workphone;
+ char *mobilephone;
+ char *pagerphone;
+ char *address1;
+ char *address2;
+ char *city;
+ char *state;
+ char *zip;
+ char *country;
+ char *timezone;
+} rt_user;
+
+#endif // RTUSER_H