summaryrefslogtreecommitdiff
path: root/rtclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 12:51:17 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-10-02 12:51:17 +0800
commitf9e3eb4c9cf83d724d510f20391ab8f88f68fd71 (patch)
tree560f1ef3f75cdbb9a7d79f376a96961fbf728c0f /rtclient
parente76e343349abafee4b22e4ce9fce9356e71506f1 (diff)
Ticket history function takes format argument
Diffstat (limited to 'rtclient')
-rw-r--r--rtclient/ticket.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/rtclient/ticket.h b/rtclient/ticket.h
index 104f811..9aaf656 100644
--- a/rtclient/ticket.h
+++ b/rtclient/ticket.h
@@ -6,6 +6,12 @@ struct rtclient_ticket {
char *subject;
};
+enum rtclient_ticket_result_format {
+ RTCLIENT_TICKET_RESULT_FORMAT_S = 0
+ , RTCLIENT_TICKET_RESULT_FORMAT_I
+ , RTCLIENT_TICKET_RESULT_FORMAT_L
+};
+
enum rtclient_ticket_history_type {
RTCLIENT_TICKET_HISTORY_TYPE_UNKNOWN = 0
, RTCLIENT_TICKET_HISTORY_TYPE_CREATE
@@ -71,7 +77,8 @@ extern "C" {
, const char *due
, const char *text);
void rtclient_ticket_history(struct rtclient_ticket_history_list **listptr
- , unsigned int id);
+ , unsigned int id
+ , enum rtclient_ticket_result_format result_format);
void rtclient_ticket_history_free
(struct rtclient_ticket_history *history);
void rtclient_ticket_history_list_free