summaryrefslogtreecommitdiff
path: root/rtclient.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 08:35:45 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-14 08:35:45 +0800
commitf36fd455104fcaa083fd1ea2186e65ec0350f208 (patch)
tree557fd28c243c80fba5780e9410ea9469b9e36d90 /rtclient.h
parent4ccd288909c6a9f1fe47ae72744ffba6f0ef410e (diff)
Try a more consistent function naming
and more adhering to the REST path names too
Diffstat (limited to 'rtclient.h')
-rw-r--r--rtclient.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rtclient.h b/rtclient.h
index e53591b..a872f37 100644
--- a/rtclient.h
+++ b/rtclient.h
@@ -10,10 +10,10 @@ extern "C" {
bool rtclient_init(const char *server_url);
void rtclient_login(const char *name, const char *password);
- void rtclient_userget(struct rt_user **userptr, const char *name);
- void rtclient_ticketssearch(struct rt_ticketlist **listptr, const char *query);
- void rtclient_userfree(struct rt_user *user);
- void rtclient_ticketsfree(struct rt_ticketlist *list);
+ void rtclient_user_show(struct rt_user **userptr, const char *name);
+ void rtclient_ticket_search(struct rt_ticketlist **listptr, const char *query);
+ void rtclient_ticket_freelist(struct rt_ticketlist *list);
+ void rtclient_user_free(struct rt_user *user);
void rtclient_cleanup();
#ifdef __cplusplus