From 8120fabe27f9b35d4a2e84e6a3f3e0fa8270798f 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 21:52:40 +0800 Subject: Reorder parameters according to the most commonly used ones --- rtclient/user.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'rtclient') diff --git a/rtclient/user.h b/rtclient/user.h index 7d0ab64..7c457f0 100644 --- a/rtclient/user.h +++ b/rtclient/user.h @@ -443,18 +443,10 @@ extern "C" { void rtclient_user_show(struct rt_user **userptr, const char *name); void rtclient_user_new(const char *name + , const char *password , const char *emailaddress , const char *realname , const char *nickname - , const char *gecos - , enum rt_lang lang - , enum rt_timezone timezone - , const char *contactinfo - , bool enabled - , bool privileged - , const char *password - , const char *comments - , const char *signature , const char *organization , const char *address1 , const char *address2 @@ -465,7 +457,15 @@ extern "C" { , const char *homephone , const char *workphone , const char *mobilephone - , const char *pagerphone); + , const char *pagerphone + , const char *contactinfo + , const char *comments + , const char *signature + , const char *gecos + , enum rt_lang lang + , enum rt_timezone timezone + , bool disabled + , bool privileged); void rtclient_user_free(struct rt_user *user); #ifdef __cplusplus -- cgit v1.2.3