Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

_lcmaps_log.h

Go to the documentation of this file.
00001 /*                                                                                                            
00002  * Copyright (c) 2001 EU DataGrid.                                                                             
00003  * For license conditions see http://www.eu-datagrid.org/license.html                                          
00004  *
00005  * Copyright (c) 2001, 2002 by 
00006  *     Martijn Steenbakkers <martijn@nikhef.nl>,
00007  *     David Groep <davidg@nikhef.nl>,
00008  *     NIKHEF Amsterdam, the Netherlands
00009  */
00010 
00018 #ifndef _LCMAPS_LOG_H
00019 #define _LCMAPS_LOG_H
00020 
00021 /******************************************************************************
00022                              Include header files
00023 ******************************************************************************/
00024 #include "lcmaps_log.h"
00025 
00026 /******************************************************************************
00027                                Define constants
00028 ******************************************************************************/
00029 #define MAX_LOG_BUFFER_SIZE 2048 
00032 #define DO_USRLOG           ((unsigned short)0x0001) 
00034 #define DO_SYSLOG           ((unsigned short)0x0002) 
00037 /******************************************************************************
00038  *                            Module definition
00039  *****************************************************************************/
00040 
00041 /******************************************************************************
00042 Function:       lcmaps_log_open()
00043 Description:    Start logging
00044 Parameters:
00045                 path:    path of logfile
00046                 fp:      file pointer to already opened file (or NULL)
00047                 logtype: DO_USRLOG, DO_SYSLOG
00048 Returns:        0 succes
00049                 1 failure
00050 ******************************************************************************/
00051 extern int lcmaps_log_open(
00052         char * path,
00053         FILE * fp,
00054         unsigned short logtype
00055 );
00056 
00057 /******************************************************************************
00058 Function:       lcmaps_log_close()
00059 Description:    Stop logging
00060 Parameters:
00061 Returns:        0 succes
00062                 1 failure
00063 ******************************************************************************/
00064 extern int lcmaps_log_close();
00065 
00066 #endif /* _LCMAPS_LOG_H */
00067 
00068 /******************************************************************************
00069 CVS Information:
00070     $Source: /cvs/fabric_mgt/gridification/lcmaps/src/pluginmanager/_lcmaps_log.h,v $
00071     $Date: 2003/07/02 14:49:47 $
00072     $Revision: 1.2 $
00073     $Author: martijn $
00074 ******************************************************************************/

Generated at Thu Mar 4 17:39:02 2004 for edg-lcmaps by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001