diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-17 19:51:23 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-17 19:51:23 +0800 |
commit | a6be983c30fcf229c54b627e87491ea73c0c96f7 (patch) | |
tree | d558d7fc7f3c62878550da1f405a046341e55357 /rtclient | |
parent | 79101bdfb10d37ab2a30cfaa73ebf630354e7c97 (diff) |
Implement the user create function
Diffstat (limited to 'rtclient')
-rw-r--r-- | rtclient/user.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rtclient/user.h b/rtclient/user.h index 719b8dc..7d0ab64 100644 --- a/rtclient/user.h +++ b/rtclient/user.h @@ -4,7 +4,8 @@ #include <stdbool.h> enum rt_lang { - RT_LANG_ar + RT_LANG_NONE = 0 + , RT_LANG_ar , RT_LANG_eu , RT_LANG_nb , RT_LANG_bg @@ -46,7 +47,8 @@ enum rt_lang { }; enum rt_timezone { - RT_TIMEZONE_Africa_Abidjan + RT_TIMEZONE_NONE = 0 + , RT_TIMEZONE_Africa_Abidjan , RT_TIMEZONE_Africa_Accra , RT_TIMEZONE_Africa_Algiers , RT_TIMEZONE_Africa_Bissau @@ -440,8 +442,7 @@ extern "C" { #endif void rtclient_user_show(struct rt_user **userptr, const char *name); - void rtclient_user_new( - const char *name + void rtclient_user_new(const char *name , const char *emailaddress , const char *realname , const char *nickname @@ -464,8 +465,7 @@ extern "C" { , const char *homephone , const char *workphone , const char *mobilephone - , const char *pagerphone - ); + , const char *pagerphone); void rtclient_user_free(struct rt_user *user); #ifdef __cplusplus |