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

struct rt_ticketlist {
	unsigned int length;
	char *tickets[];
};

#ifdef __cplusplus
extern "C" {
#endif

	void rtclient_ticket_search(struct rt_ticketlist **listptr, const char *query);
	void rtclient_ticket_freelist(struct rt_ticketlist *list);

#ifdef __cplusplus
}
#endif

#endif // RTCLIENT_TICKET_H