summaryrefslogtreecommitdiffstats
path: root/src/proto/clientserver.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-05 20:21:03 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-05 20:21:03 +0200
commitf87a0400fd81862c33d6ad2291a56e178db7dddd (patch)
tree2a1ef72193db1883d8aa81c158d99148b5412fb6 /src/proto/clientserver.pro
parentb8ed3aa9e708ec0af4e9ee8921ad198f0e949c0d (diff)
patch 8.2.0516: client-server code is spread outv8.2.0516
Problem: Client-server code is spread out. Solution: Move client-server code to a new file. (Yegappan Lakshmanan, closes #5885)
Diffstat (limited to 'src/proto/clientserver.pro')
-rw-r--r--src/proto/clientserver.pro16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/proto/clientserver.pro b/src/proto/clientserver.pro
new file mode 100644
index 0000000000..3acd5e01e7
--- /dev/null
+++ b/src/proto/clientserver.pro
@@ -0,0 +1,16 @@
+/* clientserver.c */
+void server_to_input_buf(char_u *str);
+char_u *eval_client_expr_to_string(char_u *expr);
+int sendToLocalVim(char_u *cmd, int asExpr, char_u **result);
+char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree);
+void exec_on_server(mparm_T *parmp);
+void prepare_server(mparm_T *parmp);
+void f_remote_expr(typval_T *argvars, typval_T *rettv);
+void f_remote_foreground(typval_T *argvars, typval_T *rettv);
+void f_remote_peek(typval_T *argvars, typval_T *rettv);
+void f_remote_read(typval_T *argvars, typval_T *rettv);
+void f_remote_send(typval_T *argvars, typval_T *rettv);
+void f_remote_startserver(typval_T *argvars, typval_T *rettv);
+void f_server2client(typval_T *argvars, typval_T *rettv);
+void f_serverlist(typval_T *argvars, typval_T *rettv);
+/* vim: set ft=c : */