summaryrefslogtreecommitdiffstats
path: root/elapi/elapi_log.h
diff options
context:
space:
mode:
authorDmitri Pal <dpal@redhat.com>2009-09-03 19:13:43 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-09-08 19:26:42 -0400
commit2e29828454a8566d4b0fd6ebc82746d576bfecfe (patch)
tree49fb68da0ceffa2b3a81251dea988e7b122abbbc /elapi/elapi_log.h
parentc1659a8f0537eaf873d5eb468b2bcd7392af897d (diff)
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.
Diffstat (limited to 'elapi/elapi_log.h')
-rw-r--r--elapi/elapi_log.h5
1 files changed, 1 insertions, 4 deletions
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);