aboutsummaryrefslogtreecommitdiff
path: root/plugins/log
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/log')
-rw-r--r--plugins/log/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/log/main.c b/plugins/log/main.c
new file mode 100644
index 0000000..b931d12
--- /dev/null
+++ b/plugins/log/main.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+#include "plugin_client_header.h"
+
+
+static void eventfunc(const struct plugin_event *event){
+ printf("type = %d\n",event->type);
+}
+
+plugin_event_func_t* plugin_init_func(void){
+ return eventfunc;
+}