aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui_client.h')
-rw-r--r--src/nvim/ui_client.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/nvim/ui_client.h b/src/nvim/ui_client.h
new file mode 100644
index 0000000000..41d9fa6227
--- /dev/null
+++ b/src/nvim/ui_client.h
@@ -0,0 +1,17 @@
+#ifndef NVIM_UI_CLIENT_H
+#define NVIM_UI_CLIENT_H
+
+#include "nvim/api/private/defs.h"
+
+typedef struct {
+ const char *name;
+ void (*fn)(Array args);
+} UIClientHandler;
+
+#ifdef INCLUDE_GENERATED_DECLARATIONS
+# include "ui_client.h.generated.h"
+
+# include "ui_events_client.h.generated.h"
+#endif
+
+#endif // NVIM_UI_CLIENT_H