summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 11:41:45 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2019-09-30 11:41:45 +0800
commitdfa12d6b50e7af934095448daee8b99e2855afdd (patch)
tree0568633ec1bc8fe797b2fabca8c50f654c731382
parenteaec859e3b77f02b5f7bd5e4f2b3d6c0cdbe9bfc (diff)
Make ticket new parameter names more consistent
-rw-r--r--rtclient/ticket.h8
-rw-r--r--ticket.c16
2 files changed, 12 insertions, 12 deletions
diff --git a/rtclient/ticket.h b/rtclient/ticket.h
index f4e9d5f..db2d031 100644
--- a/rtclient/ticket.h
+++ b/rtclient/ticket.h
@@ -50,13 +50,13 @@ extern "C" {
, const char *requestor
, const char *subject
, const char *cc
- , const char *admincc
+ , const char *admin_cc
, const char *owner
, const char *status
, const char *priority
- , const char *initialpriority
- , const char *finalpriority
- , const char *timeestimated
+ , const char *initial_priority
+ , const char *final_priority
+ , const char *time_estimated
, const char *starts
, const char *due
, const char *text);
diff --git a/ticket.c b/ticket.c
index e7d8a14..1e064fc 100644
--- a/ticket.c
+++ b/ticket.c
@@ -9,13 +9,13 @@ void rtclient_ticket_new(const char *queue
, const char *requestor
, const char *subject
, const char *cc
- , const char *admincc
+ , const char *admin_cc
, const char *owner
, const char *status
, const char *priority
- , const char *initialpriority
- , const char *finalpriority
- , const char *timeestimated
+ , const char *initial_priority
+ , const char *final_priority
+ , const char *time_estimated
, const char *starts
, const char *due
, const char *text)
@@ -26,13 +26,13 @@ void rtclient_ticket_new(const char *queue
, requestor, "Requestor"
, subject, "Subject"
, cc, "Cc"
- , admincc, "AdminCc"
+ , admin_cc, "AdminCc"
, owner, "Owner"
, status, "Status"
, priority, "Priority"
- , initialpriority, "InitialPriority"
- , finalpriority, "FinalPriority"
- , timeestimated, "TimeEstimated"
+ , initial_priority, "InitialPriority"
+ , final_priority, "FinalPriority"
+ , time_estimated, "TimeEstimated"
, starts, "Starts"
, due, "Due"
, text, "Text"