diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-02 14:35:07 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-02 14:35:07 +0800 |
commit | 8cff9b9d5a49e4c1a9364fd55f4887700ef2a4ae (patch) | |
tree | 8a5f2ad8fba5cb49873ac7119c286ac1a9113cfc /rtclient/ticket.h | |
parent | 9fd7e32936b96cdcd5329077662e2fcc546d2bdd (diff) |
There are only 2 formats for ticket history return
Diffstat (limited to 'rtclient/ticket.h')
-rw-r--r-- | rtclient/ticket.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/rtclient/ticket.h b/rtclient/ticket.h index c778170..88251e1 100644 --- a/rtclient/ticket.h +++ b/rtclient/ticket.h @@ -1,17 +1,13 @@ #ifndef RTCLIENT_TICKET_H #define RTCLIENT_TICKET_H +#include <stdbool.h> + struct rtclient_ticket { unsigned int id; char *subject; }; -enum rtclient_ticket_format { - RTCLIENT_TICKET_FORMAT_S = 0 - , RTCLIENT_TICKET_FORMAT_I - , RTCLIENT_TICKET_FORMAT_L -}; - enum rtclient_ticket_history_type { RTCLIENT_TICKET_HISTORY_TYPE_UNKNOWN = 0 , RTCLIENT_TICKET_HISTORY_TYPE_CREATE @@ -77,8 +73,7 @@ extern "C" { , const char *due , const char *text); void rtclient_ticket_history(struct rtclient_ticket_history_list **listptr - , unsigned int id - , enum rtclient_ticket_format result_format); + , unsigned int id, bool long_format); void rtclient_ticket_history_free (struct rtclient_ticket_history *history); void rtclient_ticket_history_list_free |