diff options
author | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-01 20:50:07 +0800 |
---|---|---|
committer | ꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id> | 2019-10-01 20:50:07 +0800 |
commit | a589075c75ace73cd21e0c0ee32e31df3f6a5389 (patch) | |
tree | 147b415878b5bb42a3604a86cef916e81d031e8c | |
parent | 81843655facabb59bcd299a827b2c862dba673e0 (diff) |
Ticket history attachment structure
-rw-r--r-- | rtclient/ticket.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/rtclient/ticket.h b/rtclient/ticket.h index 6ed4b67..c48a121 100644 --- a/rtclient/ticket.h +++ b/rtclient/ticket.h @@ -22,6 +22,12 @@ enum rtclient_ticket_history_field { , RTCLIENT_TICKET_HISTORY_FIELD_OWNER }; +struct rtclient_ticket_history_attachment { + unsigned int id; + char *file_name; + size_t size; +}; + struct rtclient_ticket_history { unsigned int id; unsigned int ticket; @@ -37,8 +43,8 @@ struct rtclient_ticket_history { struct tm *created; struct { size_t length; - const char *attachments[]; - }; + struct rtclient_ticket_history_attachment *attachments[]; + } *attachments; }; struct rtclient_ticket_history_list { |