summaryrefslogtreecommitdiff
path: root/rtclient/ticket.h
blob: 74db994b654c86bdaef20854eb42604199226909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef RTCLIENT_TICKET_H
#define RTCLIENT_TICKET_H

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

#ifdef __cplusplus
extern "C" {
#endif

	void rtclient_ticket_new(const char *queue
			, const char *requestor
			, const char *subject
			, const char *cc
			, const char *admincc
			, const char *owner
			, const char *status
			, const char *priority
			, const char *initialpriority
			, const char *finalpriority
			, const char *timeestimated
			, const char *starts
			, const char *due
			, const char *text);
	void rtclient_ticket_search(struct rtclient_ticketlist **listptr
			, const char *query);
	void rtclient_ticket_freelist(struct rtclient_ticketlist *list);

#ifdef __cplusplus
}
#endif

#endif // RTCLIENT_TICKET_H