summaryrefslogtreecommitdiff
path: root/source4/wrepl_server/wrepl_server.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-12-19 21:52:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:47:31 -0500
commita4eb8fc49b078d17cc7c502bd2ace36195ef1be9 (patch)
tree11eef07c92718da8f8483032ba5f808bde2a0a0e /source4/wrepl_server/wrepl_server.h
parent8cf545b0ae171da891266baba93a7d016890ea93 (diff)
downloadsamba-a4eb8fc49b078d17cc7c502bd2ace36195ef1be9.tar.gz
samba-a4eb8fc49b078d17cc7c502bd2ace36195ef1be9.tar.bz2
samba-a4eb8fc49b078d17cc7c502bd2ace36195ef1be9.zip
r12372: - make the periodic scheduling a bit easier, instead of passing
an uint32_t next_interval everywhere, we now call wreplsrv_periodic_schedule() if we want to schedule an event - also prevent us from looping with a 0 interval, by using 1s as minimum interval metze (This used to be commit b6943b11fc6e501d5081d591336185518943ee5a)
Diffstat (limited to 'source4/wrepl_server/wrepl_server.h')
-rw-r--r--source4/wrepl_server/wrepl_server.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/source4/wrepl_server/wrepl_server.h b/source4/wrepl_server/wrepl_server.h
index 9631f0abc8..3c283c1b6f 100644
--- a/source4/wrepl_server/wrepl_server.h
+++ b/source4/wrepl_server/wrepl_server.h
@@ -178,9 +178,6 @@ struct wreplsrv_partner {
/* the status of the last push cycle */
NTSTATUS last_status;
- /* the timestamp of the last run */
- struct timeval last_run;
-
/* the outgoing connection to the partner */
struct wreplsrv_out_connection *wreplconn;
@@ -261,11 +258,6 @@ struct wreplsrv_service {
/* some stuff for periodic processing */
struct {
/*
- * the timestamp for the current event,
- */
- struct timeval current_event;
-
- /*
* the timestamp for the next event,
* this is the timstamp passed to event_add_timed()
*/