summaryrefslogtreecommitdiff
path: root/rtclient.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 23:04:41 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-08 23:04:41 +0800
commit316a8686aac06ca326c65e624559a8f7ae8b73f1 (patch)
tree5b332e1433c2d019da89f137895f7d639f392947 /rtclient.h
parent56146facdb0390a158169cf60b8fe1f41eccf303 (diff)
Functions to get user info and to free it
Diffstat (limited to 'rtclient.h')
-rw-r--r--rtclient.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rtclient.h b/rtclient.h
index bdf6965..32028b1 100644
--- a/rtclient.h
+++ b/rtclient.h
@@ -9,8 +9,9 @@ extern "C" {
bool rtclient_init(const char *server_url);
void rtclient_login(const char *name, const char *password);
- struct rt_user *rtclient_user(const char *name);
+ bool rtclient_get_user(struct rt_user **user, const char *name);
void rtclient_search(const char *query);
+ void rtclient_user_free(struct rt_user *user);
void rtclient_cleanup();
#ifdef __cplusplus