a25f32b90a21ffb49398b563b648a112d3f58dc2
[rrq/maintain_lilo.git] / src / temp.h
1 /* temp.h  -  Temporary file registry
2
3 Copyright 1992-1995 Werner Almesberger.
4 Copyright 1999-2004 John Coffman.
5 All rights reserved.
6
7 Licensed under the terms contained in the file 'COPYING' in the 
8 source directory.
9
10 */
11
12
13 #ifndef TEMP_H
14 #define TEMP_H
15
16 #define temp_check(x) ((x)!=LILO)
17
18 void temp_register(char *name);
19
20 /* Registers a file for removal at exit. */
21
22 void temp_unregister(char *name);
23
24 /* Removes the specified file from the temporary file list. */
25
26 void temp_remove(void);
27
28 /* Removes all temporary files. */
29
30 #endif