Changeset 988 for vendor/current/source3/include/event.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/include/event.h
r740 r988 3 3 event handling 4 4 Copyright (C) Andrew Tridgell 1992-1998 5 Copyright (C) Volker Lendecke 2005 5 Copyright (C) Volker Lendecke 2005-2007 6 6 7 7 This program is free software; you can redistribute it and/or modify … … 19 19 */ 20 20 21 #define TEVENT_COMPAT_DEFINES22 21 #include <tevent.h> 23 24 #undef event_context_init25 #define event_context_init(mem_ctx) s3_tevent_context_init(mem_ctx)26 22 27 23 /* The following definitions come from lib/events.c */ 28 24 struct pollfd; 29 struct timeval *get_timed_events_timeout(struct event_context *event_ctx,25 struct timeval *get_timed_events_timeout(struct tevent_context *event_ctx, 30 26 struct timeval *to_ret); 31 void dump_event_list(struct event_context *event_ctx);27 void dump_event_list(struct tevent_context *event_ctx); 32 28 struct tevent_context *s3_tevent_context_init(TALLOC_CTX *mem_ctx); 33 29 … … 37 33 bool run_events_poll(struct tevent_context *ev, int pollrtn, 38 34 struct pollfd *pfds, int num_pfds); 35 36 struct idle_event *event_add_idle(struct tevent_context *event_ctx, 37 TALLOC_CTX *mem_ctx, 38 struct timeval interval, 39 const char *name, 40 bool (*handler)(const struct timeval *now, 41 void *private_data), 42 void *private_data);
Note:
See TracChangeset
for help on using the changeset viewer.