From a7a7bebcecbcd22da76920cd0e46c455ec8b5bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=20=EA=A6=AB=EA=A6=B6=20=EA=A6=8F=EA=A7=80?= =?UTF-8?q?=EA=A6=A6=EA=A6=BF=20=EA=A6=A7=20=EA=A6=AE=20=EA=A6=91=20?= =?UTF-8?q?=EA=A6=A9=20=EA=A6=AD=EA=A7=80?= Date: Sat, 14 Sep 2019 08:56:40 +0800 Subject: Isolate headers to a directory Prepare for header system installation --- rtclient/rtclient.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 rtclient/rtclient.h (limited to 'rtclient/rtclient.h') diff --git a/rtclient/rtclient.h b/rtclient/rtclient.h new file mode 100644 index 0000000..a872f37 --- /dev/null +++ b/rtclient/rtclient.h @@ -0,0 +1,23 @@ +#ifndef RTCLIENT_H +#define RTCLIENT_H + +#include "rtuser.h" +#include "rtticket.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_show(struct rt_user **userptr, const char *name); + void rtclient_ticket_search(struct rt_ticketlist **listptr, const char *query); + void rtclient_ticket_freelist(struct rt_ticketlist *list); + void rtclient_user_free(struct rt_user *user); + void rtclient_cleanup(); + +#ifdef __cplusplus +} +#endif + +#endif // RTCLIENT_H -- cgit v1.2.3