diff options
| author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 23:04:41 +0800 |
|---|---|---|
| committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-09-08 23:04:41 +0800 |
| commit | 316a8686aac06ca326c65e624559a8f7ae8b73f1 (patch) | |
| tree | 5b332e1433c2d019da89f137895f7d639f392947 /rtclient.h | |
| parent | 56146facdb0390a158169cf60b8fe1f41eccf303 (diff) | |
Functions to get user info and to free it
Diffstat (limited to 'rtclient.h')
| -rw-r--r-- | rtclient.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |