From a6be983c30fcf229c54b627e87491ea73c0c96f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Tue, 17 Sep 2019 19:51:23 +0800 Subject: Implement the user create function --- rtclient/user.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'rtclient') 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 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 -- cgit v1.2.3