Add hooking for events
[src/app-framework-binder.git] / src / afb-evt.h
index 8ebb2ec..2c8da61 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2016 "IoT.bzh"
+ * Copyright (C) 2016, 2017 "IoT.bzh"
  * Author: José Bollo <jose.bollo@iot.bzh>
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -18,8 +18,8 @@
 #pragma once
 
 struct afb_event;
-struct AFB_clientCtx;
-
+struct afb_session;
+struct json_object;
 struct afb_evt_listener;
 
 struct afb_evt_itf
@@ -44,3 +44,4 @@ extern int afb_evt_event_id(struct afb_event event);
 extern int afb_evt_add_watch(struct afb_evt_listener *listener, struct afb_event event);
 extern int afb_evt_remove_watch(struct afb_evt_listener *listener, struct afb_event event);
 
+extern void afb_evt_update_hooks();