[Gnupos-cvs] gnp-server/include GNPS.h,1.3,1.4
Status: Pre-Alpha
Brought to you by:
conrad_c
From: <con...@us...> - 2003-02-21 12:33:57
|
Update of /cvsroot/gnupos/gnp-server/include In directory sc8-pr-cvs1:/tmp/cvs-serv18245/include Modified Files: GNPS.h Log Message: Tidy up logging stuff - now works properly. Index: GNPS.h =================================================================== RCS file: /cvsroot/gnupos/gnp-server/include/GNPS.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GNPS.h 20 Feb 2003 12:31:26 -0000 1.3 --- GNPS.h 21 Feb 2003 12:33:54 -0000 1.4 *************** *** 28,38 **** --- 28,50 ---- gnps_global_data_struct; + /* defines */ + /* Error codes for gnps_exit() */ + #define GNPS_999 999 + #define GNPS_ERR_UNKNOWN -1 + #define GNPS_ERR_LOGOPEN -2 + #define GNPS_ERR_LOGWRITE -3 + #define GNPS_ERR_NOMEMORY -10 /* Prototypes */ + /* for main.c */ + void gnps_exit(int); + /* for GNPS_io.c */ void gnps_read_config(void); void gnps_init_logging(void); void logprintf(char *, ...); + void gnps_log_close_err(void); + void gnps_log_close(void); |