Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

logging.h

Go to the documentation of this file.
00001 /*! \file logging.h
00002           Header file for the logging module 'logging.c'.
00003  */
00004 
00005 #ifdef __cplusplus
00006 extern "C" {
00007 #endif
00008 
00009 #ifndef LOGGING_HEADER
00010 #define LOGGING_HEADER
00011 
00012   #include <sys/types.h>
00013   #include <sys/stat.h>
00014   #include <fcntl.h>
00015   #include <unistd.h>
00016   #include <stdio.h>
00017   #include <stdarg.h>
00018   #include <string.h>
00019   #include <errno.h>
00020   #include <time.h>
00021 
00022   char* dater();
00023   void init_syslogger();
00024   void logging_new_tag();
00025   char* logger_last_error();
00026   void activate_log_size_management();
00027   int my_syslog (const char *file, const char * fmt,...);
00028   int my_syslog_skip_line (const char *file);
00029   void logger_set_gateway (const char *g);
00030   void init_client_ids (char*               mac,
00031                         char*               vnode_id,
00032                         unsigned long int   vshelf,
00033                         unsigned long int   vslot,
00034                         unsigned long int   vport,
00035                         unsigned short int  vvci,
00036                         unsigned short int  vvlan_id);
00037 
00038 
00039 #endif
00040 
00041 #ifdef __cplusplus
00042 }
00043 #endif

Generated on Mon Jun 19 12:31:05 2006 for MyDhcp_V2 by doxygen1.2.15