home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
t
/
tags18.zip
/
LOG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-09-26
|
877b
|
29 lines
/*
EPSHeader
File: log.h
Author: J. Kercheval
Created: Sat, 06/08/1991 09:25:44
*/
#ifndef BOOLEAN
#define BOOLEAN int
#define TRUE 1
#define FALSE 0
#endif
/*----------------------------------------------------------------------------
*
* log_open() opens the log file for writing after closing the log file if
* already opened. The BOOLEAN parameter to_stderr is true if stderr
* is to be used for logging. The BOOLEAN parameter overwrite is true
* the current file for logging is to be overwritten.
* log_close() closes an opened log file
* log_message() sends message to stdout and to log file if open
*
----------------------------------------------------------------------------*/
BOOLEAN log_open(char *fname, BOOLEAN to_stderr, BOOLEAN overwrite);
void log_close(void);
void log_message(char *message);