1 /* 2 3 # #### #### ###### # # ###### # # 4 # # # # # # # # # # # 5 # # # # ##### # # ##### ###### 6 # # # # ### # # # # ### # # 7 # # # # # # # # # ### # # 8 ###### #### #### # # ###### ###### ### # # 9 10 Declarations for logging. 11 */ 12 13 /* 14 * $Id$ 15 * 16 * Copyright (c) 1990-2006, Raphael Manfredi 17 * 18 * You may redistribute only under the terms of the Artistic License, 19 * as specified in the README file that comes with the distribution. 20 * You may reuse parts of this distribution only within the terms of 21 * that same Artistic License; a copy of which may be found at the root 22 * of the source tree for mailagent 3.0. 23 * 24 * $Log: logfile.h,v $ 25 * Revision 3.0 1993/11/29 13:48:15 ram 26 * Baseline for mailagent 3.0 netwide release. 27 * 28 */ 29 30 #ifndef _logfile_h_ 31 #define _logfile_h_ 32 33 #include "config.h" 34 #include <sys/types.h> 35 36 /* Routine defined by logging package */ 37 extern void add_log(); /* Add logging message */ 38 extern int open_log(); /* Open logging file */ 39 extern void close_log(); /* Close logging file */ 40 extern void set_loglvl(); /* Set logging level */ 41 42 /* The following need to be set externally but are defined here */ 43 extern char *progname; /* Program name */ 44 extern Pid_t progpid; /* Program PID */ 45 46 #endif 47 48