Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / dtcm / server / garbage.h
1 /* $XConsortium: garbage.h /main/4 1995/11/09 12:44:07 rswiston $ */
2 /*
3  *  (c) Copyright 1993, 1994 Hewlett-Packard Company
4  *  (c) Copyright 1993, 1994 International Business Machines Corp.
5  *  (c) Copyright 1993, 1994 Novell, Inc.
6  *  (c) Copyright 1993, 1994 Sun Microsystems, Inc.
7  */
8
9 #ifndef _GARBAGE_H
10 #define _GARBAGE_H
11
12 #include "ansi_c.h"
13
14 /*
15 **  Housekeeping mechanism to clean up the calendar log file.  It copies the
16 **  log file to a backup file, dumps the red/black tree to a temp file, copies
17 **  the temp file back to the original log file, and deletes the temp and
18 **  backup files.  Any errors encountered along the way abort the process.
19 **  The garbage collector runs at midnight every.
20 */
21
22 extern void _DtCmsCollectOne P((_DtCmsCalendar *cal));
23 extern CSA_return_code _DtCmsDumpDataV1 P((char *file, _DtCmsCalendar *cal));
24 extern CSA_return_code _DtCmsDumpDataV2 P((char *file, _DtCmsCalendar *cal));
25
26 #endif