summaryrefslogtreecommitdiff
path: root/rtclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 21:52:40 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-17 21:52:40 +0800
commit8120fabe27f9b35d4a2e84e6a3f3e0fa8270798f (patch)
tree3f10eeb6572c1acee3a88239f98721f73fb54b9c /rtclient
parenta6be983c30fcf229c54b627e87491ea73c0c96f7 (diff)
Reorder parameters according to the most commonly used ones
Diffstat (limited to 'rtclient')
-rw-r--r--rtclient/user.h20
1 files changed, 10 insertions, 10 deletions
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