summaryrefslogtreecommitdiffstats
path: root/dispatcher/elapi_dispatcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'dispatcher/elapi_dispatcher.h')
-rw-r--r--dispatcher/elapi_dispatcher.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/dispatcher/elapi_dispatcher.h b/dispatcher/elapi_dispatcher.h
index c47e8ff..1a49a18 100644
--- a/dispatcher/elapi_dispatcher.h
+++ b/dispatcher/elapi_dispatcher.h
@@ -114,4 +114,10 @@ void close_audit(void);
/* Creates collection with the timestamp already prepopulated */
int create_event(struct collection_item **event,char *name);
+/* Creates collection - event based on the specified format */
+int construct_event(struct collection_item **event,char *name, char *format, ...);
+
+/* Add/Updates the event properties based on the format */
+int modify_event(struct collection_item *event, int update, char *format, ...);
+
#endif