Commit de5bfc46 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(set_time): Now exported.

(setup_timer): Ditto.
(server_idle): New function.
parent 4eec2c4a
/*
* $Id: connections.h,v 0.59 2003/07/12 21:28:28 ceder Exp $
* $Id: connections.h,v 0.60 2003/07/13 11:07:19 ceder Exp $
* Copyright (C) 1991-2002 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: connections.h,v 0.59 2003/07/12 21:28:28 ceder Exp $
* $Id: connections.h,v 0.60 2003/07/13 11:07:19 ceder Exp $
*
* connections.h -- The top level of the communication packet.
*
......@@ -336,3 +336,16 @@ extern void *
handle_accept_event(struct isc_mcb *mcb,
struct isc_scb *accepting_session,
struct isc_scb *new_session);
/* Set TV to the current time plus INTERVAL. */
extern void
setup_timer(struct timeval *tv,
struct timeval interval);
/* Return true if the server is currently idle. */
extern Bool
server_idle(void);
/* Set the current_time global variable. */
extern void
set_time(void);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment