aboutsummaryrefslogtreecommitdiff
path: root/src/api.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-04-10 15:48:24 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-11 14:07:44 -0300
commiteab3a4fafb3668c475e13c9daef7427183ef6e14 (patch)
tree680d4931a47111063ba3488b4321b393f33437d9 /src/api.c
parenta68ca46382137cd24b1ac66579ce3cc8ed5b0294 (diff)
downloadrneovim-eab3a4fafb3668c475e13c9daef7427183ef6e14.tar.gz
rneovim-eab3a4fafb3668c475e13c9daef7427183ef6e14.tar.bz2
rneovim-eab3a4fafb3668c475e13c9daef7427183ef6e14.zip
Add empty implementations of the remote API
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c112
1 files changed, 112 insertions, 0 deletions
diff --git a/src/api.c b/src/api.c
new file mode 100644
index 0000000000..93aee546c6
--- /dev/null
+++ b/src/api.c
@@ -0,0 +1,112 @@
+#include <stdint.h>
+#include <stdlib.h>
+
+#include "api.h"
+
+void api_push_keys(char *str)
+{
+ abort();
+}
+
+void api_command(char *str)
+{
+ abort();
+}
+
+void api_eval(char *str)
+{
+ abort();
+}
+
+uint32_t api_bind_eval(char *str)
+{
+ abort();
+}
+
+char **api_list_runtime_paths()
+{
+ abort();
+}
+
+char **api_list_buffers(void)
+{
+ abort();
+ return NULL;
+}
+
+char **api_list_windows(void)
+{
+ abort();
+ return NULL;
+}
+
+char **api_list_tabpages(void)
+{
+ abort();
+ return NULL;
+}
+
+char *api_get_current_line(void)
+{
+ abort();
+ return NULL;
+}
+
+uint32_t api_get_current_buffer(void)
+{
+ abort();
+ return 0;
+}
+
+uint32_t api_get_current_window(void)
+{
+ abort();
+ return 0;
+}
+
+uint32_t api_get_current_tabpage(void)
+{
+ abort();
+ return 0;
+}
+
+void api_set_current_line(char *line)
+{
+ abort();
+}
+
+void api_set_current_buffer(uint32_t id)
+{
+ abort();
+}
+
+void api_set_current_window(uint32_t id)
+{
+ abort();
+}
+
+void api_set_current_tabpage(uint32_t id)
+{
+ abort();
+}
+
+char *api_get_option(char *name)
+{
+ abort();
+ return NULL;
+}
+
+void api_set_option(char *name, char *value)
+{
+ abort();
+}
+
+void api_out_write(char *str)
+{
+ abort();
+}
+
+void api_err_write(char *str)
+{
+ abort();
+}