summaryrefslogtreecommitdiff
path: root/rtclient.h
blob: 49541e38ab8cb6d329ce42e1a0a5620544d05e0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef RTCLIENT_H
#define RTCLIENT_H

#include "rtclient/typedefs.h"

#ifdef __cplusplus
extern "C" {
#endif

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
}
#endif

#endif