aboutsummaryrefslogtreecommitdiffstats
path: root/nbrpc_call.c
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2017-09-24 11:55:09 +0100
committerFreeArtMan <dos21h@gmail.com>2017-09-24 11:55:09 +0100
commit5de1c5ba999dba7da45316d3c1f2592c0e0e4804 (patch)
tree58e2fdc46c9b8b43598acdfad479bda9359b1df9 /nbrpc_call.c
parent1dcf41797bda73d9c9c286d1eff8309ee2148e13 (diff)
downloadagni-5de1c5ba999dba7da45316d3c1f2592c0e0e4804.tar.gz
agni-5de1c5ba999dba7da45316d3c1f2592c0e0e4804.zip
Rearranged code for more IPC protocols
Diffstat (limited to 'nbrpc_call.c')
-rw-r--r--nbrpc_call.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/nbrpc_call.c b/nbrpc_call.c
new file mode 100644
index 0000000..3fddde7
--- /dev/null
+++ b/nbrpc_call.c
@@ -0,0 +1,49 @@
+#include "nbrpc_call.h"
+
+rpc_call_request* rpc_call_req_new(char *method, char *params, int id)
+{
+
+}
+
+
+rpc_call_response* rpc_call_resp_new(char *result, char *error, int id)
+{
+
+}
+
+
+int rpc_call_req_free(rpc_call_request *req)
+{
+
+}
+
+
+int rpc_call_resp_free(rpc_call_response *resp)
+{
+
+}
+
+
+int rpc_call_req_marsh( rpc_call_request *req, netbyte_store **nb_req)
+{
+
+}
+
+
+int rpc_call_resp_marsh( rpc_call_response *resp, netbyte_store **nb_resp)
+{
+
+}
+
+
+int rpc_call_req_unmarsh( netbyte_store *nb_req, rpc_call_request **req)
+{
+
+}
+
+
+int rpc_call_resp_unmarsh(netbyte_store *nb_resp, rpc_call_response **resp)
+{
+
+}
+