s3: use monotonic clock for aio timeout
[Samba/id10ts.git] / packaging4 / Fedora / cplusplus-headers.patch
blobce05f545991ae301434e1155b95b6067ba6af045
1 diff -Naur samba-4.0.0alpha5-orig/source/lib/events/events.h samba-4.0.0alpha5/source/lib/events/events.h
2 --- samba-4.0.0alpha5-orig/source/lib/events/events.h 2008-06-30 19:34:11.000000000 +1000
3 +++ samba-4.0.0alpha5/source/lib/events/events.h 2008-07-25 20:02:56.000000000 +1000
4 @@ -53,24 +53,24 @@
6 struct fd_event *event_add_fd(struct event_context *ev, TALLOC_CTX *mem_ctx,
7 int fd, uint16_t flags, event_fd_handler_t handler,
8 - void *private);
9 + void *private_data);
11 struct timed_event *event_add_timed(struct event_context *ev, TALLOC_CTX *mem_ctx,
12 struct timeval next_event,
13 event_timed_handler_t handler,
14 - void *private);
15 + void *private_data);
17 struct signal_event *event_add_signal(struct event_context *ev, TALLOC_CTX *mem_ctx,
18 int signum, int sa_flags,
19 event_signal_handler_t handler,
20 - void *private);
21 + void *private_data);
23 struct iocb;
24 struct aio_event *event_add_aio(struct event_context *ev,
25 TALLOC_CTX *mem_ctx,
26 struct iocb *iocb,
27 event_aio_handler_t handler,
28 - void *private);
29 + void *private_data);
31 int event_loop_once(struct event_context *ev);
32 int event_loop_wait(struct event_context *ev);