summaryrefslogtreecommitdiff
path: root/rtclient.h
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-07 21:44:51 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-07 21:44:51 +0800
commit7b649aee5d672b791b33a93a6dc9730c22e88068 (patch)
treeab901b1baf491c3655eb7a7ddd1cc022c80f848b /rtclient.h
parentf7ba1ecac822d0fad68ef768016d96cf30b5e77e (diff)
Preparing the user function to return info
Diffstat (limited to 'rtclient.h')
-rw-r--r--rtclient.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/rtclient.h b/rtclient.h
index dd3cb61..bdf6965 100644
--- a/rtclient.h
+++ b/rtclient.h
@@ -1,13 +1,15 @@
#ifndef RTCLIENT_H
#define RTCLIENT_H
+#include "rtuser.h"
+
#ifdef __cplusplus
extern "C" {
#endif
bool rtclient_init(const char *server_url);
void rtclient_login(const char *name, const char *password);
- void rtclient_user(const char *name);
+ struct rt_user *rtclient_user(const char *name);
void rtclient_search(const char *query);
void rtclient_cleanup();