summaryrefslogtreecommitdiff
path: root/rtclient
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-25 16:24:39 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-25 16:24:39 +0800
commite39fa22f6896b7b7200229ffba95c56074a17535 (patch)
treeafca923eff622121d60ca20285e5804d2b27f7a1 /rtclient
parenta2667831d91ca18b9b8d41ad1d52a721103f8750 (diff)
Ticket structure
now containing ID member
Diffstat (limited to 'rtclient')
-rw-r--r--rtclient/ticket.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/rtclient/ticket.h b/rtclient/ticket.h
index 87e7496..5b6bdd6 100644
--- a/rtclient/ticket.h
+++ b/rtclient/ticket.h
@@ -1,9 +1,14 @@
#ifndef RTCLIENT_TICKET_H
#define RTCLIENT_TICKET_H
+struct rtclient_ticket {
+ unsigned int id;
+ char *subject;
+};
+
struct rtclient_ticketlist {
size_t length;
- char *tickets[];
+ struct rtclient_ticket *tickets[];
};
#ifdef __cplusplus