summaryrefslogtreecommitdiff
path: root/rtclient/search.h
blob: e0e386a9962a30a6b266507eaed46d1ace7b1a45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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