summaryrefslogtreecommitdiff
path: root/rtclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 17:11:54 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-18 17:11:54 +0800
commitc82bcaf01cbb471efdbc118e9aa45a43fb93d4b5 (patch)
treecf7f4115e0072c2c31e0dd7f9b61b68fd5305f25 /rtclient
parentd5297864a9d86a2df6ec3c5344117c2038a7b826 (diff)
Prepare ticket_new function
Copied and adjusted from user_new for now.
Diffstat (limited to 'rtclient')
-rw-r--r--rtclient/ticket.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/rtclient/ticket.h b/rtclient/ticket.h
index cd782a3..74db994 100644
--- a/rtclient/ticket.h
+++ b/rtclient/ticket.h
@@ -10,6 +10,20 @@ struct rtclient_ticketlist {
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);