Rev 585: make timed_event structure private to events_timed.c in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Wed Jul 25 01:43:27 GMT 2007


------------------------------------------------------------
revno: 585
revision-id: tridge at samba.org-20070725014327-ieb2qrj0jelas1uw
parent: tridge at samba.org-20070724121412-95x96ci380ez1rgf
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Wed 2007-07-25 11:43:27 +1000
message:
  make timed_event structure private to events_timed.c
modified:
  lib/events/events_internal.h   events_internal.h-20061117234101-o3qt14umlg9en8z0-28
  lib/events/events_timed.c      events_timed.c-20070501213746-4fxluwiq4rcxib8p-5
=== modified file 'lib/events/events_internal.h'
--- a/lib/events/events_internal.h	2007-07-10 05:34:00 +0000
+++ b/lib/events/events_internal.h	2007-07-25 01:43:27 +0000
@@ -71,17 +71,6 @@
 	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;

=== modified file 'lib/events/events_timed.c'
--- a/lib/events/events_timed.c	2007-07-10 05:34:00 +0000
+++ b/lib/events/events_timed.c	2007-07-25 01:43:27 +0000
@@ -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
 */



More information about the samba-cvs mailing list