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

(sync_part): Now returns a struct timeval.

parent f3c74c35
* $Id: cache.h,v 0.23 2003/07/12 00:16:45 ceder Exp $
* $Id: cache.h,v 0.24 2003/07/12 21:27:19 ceder Exp $
* Copyright (C) 1991-1996, 1999 Lysator Academic Computer Association.
* This file is part of the LysKOM server.
......@@ -49,10 +49,10 @@ void cache_limit_size(void);
* Maybe save some part of the database. sync_part() should be called
* often as long as it returns 0. If it returns anything else, there
* is no need to call it again for that many seconds, but it is
* is no need to call it again until that time has passed, but it is
* harmless to call it more often than that.
long sync_part(void);
struct timeval sync_part(void);
/* flush all & wait until disk is synced */
void cache_sync_all(void);
Markdown is supported
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