summaryrefslogtreecommitdiff
path: root/nbrpc_event.h
diff options
context:
space:
mode:
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);