1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

make timed_event structure private to events_timed.c

(This used to be ctdb commit 4a61132e2a4f6beca8e9148307c7ec16cb74bb08)
This commit is contained in:
Andrew Tridgell 2007-07-25 11:43:27 +10:00
parent 88ac1086c6
commit 5b899f0edf
2 changed files with 11 additions and 11 deletions

View File

@ -71,17 +71,6 @@ struct fd_event {
void *additional_data;
};
struct timed_event {
struct timed_event *prev, *next;
struct event_context *event_ctx;
struct timeval next_event;
event_timed_handler_t handler;
/* this is private for the specific handler */
void *private_data;
/* this is private for the events_ops implementation */
void *additional_data;
};
struct signal_event {
struct signal_event *prev, *next;
struct event_context *event_ctx;

View File

@ -27,6 +27,17 @@
#include "lib/events/events.h"
#include "lib/events/events_internal.h"
struct timed_event {
struct timed_event *prev, *next;
struct event_context *event_ctx;
struct timeval next_event;
event_timed_handler_t handler;
/* this is private for the specific handler */
void *private_data;
/* this is private for the events_ops implementation */
void *additional_data;
};
/*
destroy a timed event
*/