temp.h 591 Bytes
Newer Older
1
/* temp.h  -  Temporary file registry
2 3 4 5 6 7 8 9 10
 * 
 * Copyright 1992-1995 Werner Almesberger
 * Copyright 1999-2004 John Coffman
 * Copyright 2009-2011 Joachim Wiedorn
 * All rights reserved.
 * 
 * Licensed under the terms contained in the file 'COPYING'
 * in the source directory.
 */
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

#ifndef TEMP_H
#define TEMP_H

#define temp_check(x) ((x)!=LILO)

void temp_register(char *name);

/* Registers a file for removal at exit. */

void temp_unregister(char *name);

/* Removes the specified file from the temporary file list. */

void temp_remove(void);

/* Removes all temporary files. */

#endif