summaryrefslogtreecommitdiff
path: root/nbrpc_call.h
diff options
context:
space:
mode:
Diffstat (limited to 'nbrpc_call.h')
-rw-r--r--nbrpc_call.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/nbrpc_call.h b/nbrpc_call.h
index 183f911..3d7ea9a 100644
--- a/nbrpc_call.h
+++ b/nbrpc_call.h
@@ -5,24 +5,31 @@
#include <mq_ntf.h>
+#include "mmm.h"
+
typedef struct rpc_call_request
{
+ //rpc
char *method;
char *params;
+ int id;
+ //extra params
char *user;
char *mask;
char *server;
- int id;
+
} rpc_call_request;
typedef struct rpc_call_response
{
+ //rpc
char *result;
char *error;
+ int id;
+ //extra params
char *user;
char *mask;
char *server;
- int id;
} rpc_call_response;
rpc_call_request* rpc_call_req_new(char *method, char *params, int id);