From 2e29828454a8566d4b0fd6ebc82746d576bfecfe Mon Sep 17 00:00:00 2001 From: Dmitri Pal Date: Thu, 3 Sep 2009 19:13:43 -0400 Subject: ELAPI Laying foundation for the async processing A relatively small patch aligning headers and a small portion of code for upcoming implementation of the async event processing. Cleanup of the test config file. --- elapi/elapi_log.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'elapi/elapi_log.h') diff --git a/elapi/elapi_log.h b/elapi/elapi_log.h index 7d8a3b7..7d78355 100644 --- a/elapi/elapi_log.h +++ b/elapi/elapi_log.h @@ -52,10 +52,7 @@ int elapi_create_dispatcher(struct elapi_dispatcher **dispatcher, /* Handle of int elapi_create_dispatcher_adv(struct elapi_dispatcher **dispatcher, /* Handle of the dispatcher will be stored in this variable */ const char *appname, /* Application name. Passed to the sinks to do initialization */ const char *config_path, /* See notes below in the elapi_init() function. */ - elapi_add_fd add_fd_add_fn, /* Caller's function to add file descriptor */ - elapi_rem_fd add_fd_rem_fn, /* Caller's function to remove file descriptor */ - elapi_add_timer add_timer_fn, /* Caller's function to add timer */ - void *callers_data); /* Data that needs to be passed when caller's callback is called. */ + struct elapi_async_ctx *async_ctx); /* Async context. */ /* Function to clean memory associated with the dispatcher */ void elapi_destroy_dispatcher(struct elapi_dispatcher *dispatcher); -- cgit