Adds a way to cancel a blocking rpc call (#94)

This commit is contained in:
Thad House
2016-08-16 23:31:45 -07:00
committed by Peter Johnson
parent d6e8de21ef
commit c0ce4270f0
8 changed files with 20 additions and 0 deletions

View File

@@ -235,6 +235,7 @@ unsigned int CallRpc(StringRef name, StringRef params);
bool GetRpcResult(bool blocking, unsigned int call_uid, std::string* result);
bool GetRpcResult(bool blocking, unsigned int call_uid, double time_out,
std::string* result);
void CancelBlockingRpcResult(unsigned int call_uid);
std::string PackRpcDefinition(const RpcDefinition& def);
bool UnpackRpcDefinition(StringRef packed, RpcDefinition *def);