diff options
Diffstat (limited to 'rtclient/search.h')
-rw-r--r-- | rtclient/search.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/rtclient/search.h b/rtclient/search.h new file mode 100644 index 0000000..e0e386a --- /dev/null +++ b/rtclient/search.h @@ -0,0 +1,21 @@ +#ifndef RTCLIENT_SEARCH_H +#define RTCLIENT_SEARCH_H + +struct rtclient_search_ticket_list { + size_t length; + struct rtclient_ticket *tickets[]; +}; + +#ifdef __cplusplus +extern "C" { +#endif + + void rtclient_search_ticket(struct rtclient_search_ticket_list **listptr + , const char *query); + void rtclient_search_ticket_free(struct rtclient_search_ticket_list *list); + +#ifdef __cplusplus +} +#endif + +#endif // RTCLIENT_SEARCH_H |