jsonrpc: Make it easy to get a new JSON-RPC request's id.
[sliver-openvswitch.git] / lib / jsonrpc.h
index 5d47ac5..93ac2e8 100644 (file)
@@ -67,7 +67,8 @@ struct jsonrpc_msg {
 };
 
 struct jsonrpc_msg *jsonrpc_create_request(const char *method,
-                                           struct json *params);
+                                           struct json *params,
+                                           struct json **idp);
 struct jsonrpc_msg *jsonrpc_create_notify(const char *method,
                                           struct json *params);
 struct jsonrpc_msg *jsonrpc_create_reply(struct json *result,