diff options
Diffstat (limited to 'rtclient.h')
-rw-r--r-- | rtclient.h | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -1,13 +1,18 @@ #ifndef RTCLIENT_H #define RTCLIENT_H +#include "rtclient/typedefs.h" + #ifdef __cplusplus extern "C" { #endif - bool rtclient_init(const char *url, const char *certificate); - void rtclient_login(const char *name, const char *password); - void rtclient_cleanup(); +void rtclient_init(const char *url, const char *cookies, + const char *certificate); +void rtclient_login(const char *name, const char *password, + void (*handler)(rtclient_response *)); +void rtclient_free_response(rtclient_response *response); +void rtclient_cleanup(); #ifdef __cplusplus } |