00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef _EYEDBLIB_UTLOG_H
00026 #define _EYEDBLIB_UTLOG_H
00027
00028 #include <stdio.h>
00029
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034
00035 extern void utlogInit(const char *progName, const char *devname);
00036 extern FILE *utlogFDGet();
00037 extern FILE *utlogFDSet(FILE *);
00038 extern void utlog(const char *fmt, ...);
00039 extern void utlog_p(const char *s);
00040 extern const char *utlogDevNameGet();
00041 extern void
00042 utlogResetTimer(),
00043 utlogSetLogDate(int on),
00044 utlogSetLogTimer(int on),
00045 utlogSetLogPid(int on),
00046 utlogSetLogProgName(int on);
00047
00048 #ifdef __cplusplus
00049 }
00050 #endif
00051
00052 #endif