aboutsummaryrefslogtreecommitdiffstats
path: root/nbrpc_event.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-10-01 14:41:43 +0100
committerFreeArtMan <dos21h@gmail.com>2017-10-01 14:41:43 +0100
commitcd09b06adb30135f55909c02840c339422217d95 (patch)
treecdb3764ce7fe59df55c4fec68b4ab8dd667fec61 /nbrpc_event.h
parent512f057166af84c11fc7ed5e4768b9dd2fe9f590 (diff)
downloadagni-cd09b06adb30135f55909c02840c339422217d95.tar.gz
agni-cd09b06adb30135f55909c02840c339422217d95.zip
Fixed warnings all over the places
Diffstat (limited to 'nbrpc_event.h')
-rw-r--r--nbrpc_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nbrpc_event.h b/nbrpc_event.h
index 5b0bad8..14dce96 100644
--- a/nbrpc_event.h
+++ b/nbrpc_event.h
@@ -11,20 +11,20 @@ typedef struct rpc_request
{
char *method;
char *params;
+ int id;
char *user;
char *mask;
char *server;
- int id;
} rpc_request;
typedef struct rpc_response
{
char *result;
char *error;
+ int id;
char *user;
char *mask;
char *server;
- int id;
} rpc_response;
rpc_request* rpc_req_new(char *method, char *params, int id);