aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os/server.h
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-05-27 10:16:40 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-05-27 10:19:38 -0300
commitb8e563f516a6d184c36d15b8b9c795f84fd40983 (patch)
tree1624bebe6b86dba6793e812e057a54d39595a965 /src/nvim/os/server.h
parent277554a9ebaaa34bea1862802254db9b9c0f92d1 (diff)
downloadrneovim-b8e563f516a6d184c36d15b8b9c795f84fd40983.tar.gz
rneovim-b8e563f516a6d184c36d15b8b9c795f84fd40983.tar.bz2
rneovim-b8e563f516a6d184c36d15b8b9c795f84fd40983.zip
Refactor: Remove support for multiple protocols
This removes the boilerplate code supporting more than one RPC protocol as it was becoming hard to maintain and we probably won't ever need it.
Diffstat (limited to 'src/nvim/os/server.h')
-rw-r--r--src/nvim/os/server.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/os/server.h b/src/nvim/os/server.h
index 73c6bd1fea..f6270b42e9 100644
--- a/src/nvim/os/server.h
+++ b/src/nvim/os/server.h
@@ -1,8 +1,6 @@
#ifndef NVIM_OS_SERVER_H
#define NVIM_OS_SERVER_H
-#include "nvim/os/channel_defs.h"
-
/// Initializes the module
void server_init();
@@ -18,8 +16,7 @@ void server_teardown();
/// @param endpoint Address of the server. Either a 'ip:port' string or an
/// arbitrary identifier(trimmed to 256 bytes) for the unix socket or
/// named pipe.
-/// @param prot The rpc protocol to be used
-void server_start(char *endpoint, ChannelProtocol prot);
+void server_start(char *endpoint);
/// Stops listening on the address specified by `endpoint`.
///