aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/msgpack_rpc
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2016-02-23 23:32:21 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2016-02-23 23:32:21 +0100
commitb10c9b4f5b28a50c752ddadc8dc4319546c9d039 (patch)
tree2c544bc2c01abea43f59e9a48598f3d74df45760 /src/nvim/msgpack_rpc
parent18605d678517ca7347a8fae234e5f39f79fb6904 (diff)
parent2a4ea9a54674b642c39fc0745c7feca11f14ec46 (diff)
downloadrneovim-b10c9b4f5b28a50c752ddadc8dc4319546c9d039.tar.gz
rneovim-b10c9b4f5b28a50c752ddadc8dc4319546c9d039.tar.bz2
rneovim-b10c9b4f5b28a50c752ddadc8dc4319546c9d039.zip
Merge pull request #1817 from bfredl/bufmatch
support buffer-associated highlighting by external plugins
Diffstat (limited to 'src/nvim/msgpack_rpc')
-rw-r--r--src/nvim/msgpack_rpc/defs.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/nvim/msgpack_rpc/defs.h b/src/nvim/msgpack_rpc/defs.h
index d97cf28ca1..5611636d4f 100644
--- a/src/nvim/msgpack_rpc/defs.h
+++ b/src/nvim/msgpack_rpc/defs.h
@@ -1,8 +1,6 @@
#ifndef NVIM_MSGPACK_RPC_DEFS_H
#define NVIM_MSGPACK_RPC_DEFS_H
-#include <msgpack.h>
-
/// The rpc_method_handlers table, used in msgpack_rpc_dispatch(), stores
/// functions of this type.
@@ -24,22 +22,6 @@ void msgpack_rpc_add_method_handler(String method,
void msgpack_rpc_init_function_metadata(Dictionary *metadata);
-/// Dispatches to the actual API function after basic payload validation by
-/// `msgpack_rpc_call`. It is responsible for validating/converting arguments
-/// to C types, and converting the return value back to msgpack types.
-/// The implementation is generated at compile time with metadata extracted
-/// from the api/*.h headers,
-///
-/// @param channel_id The channel id
-/// @param method_id The method id
-/// @param req The parsed request object
-/// @param error Pointer to error structure
-/// @return Some object
-Object msgpack_rpc_dispatch(uint64_t channel_id,
- msgpack_object *req,
- Error *error)
- FUNC_ATTR_NONNULL_ARG(2) FUNC_ATTR_NONNULL_ARG(3);
-
MsgpackRpcRequestHandler msgpack_rpc_get_handler_for(const char *name,
size_t name_len)
FUNC_ATTR_NONNULL_ARG(1);