/[pdpsoft]/trunk/grid-mw-security/ees/include/library/eef_log.h
ViewVC logotype

Contents of /trunk/grid-mw-security/ees/include/library/eef_log.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1121 - (show annotations) (download) (as text)
Fri Nov 13 14:11:05 2009 UTC (12 years, 8 months ago) by aramv
File MIME type: text/x-csrc
File size: 1125 byte(s)
Fixed duplicate symbol bug
1 /*!
2
3 \file eef_log.h
4 \brief API of the Nextgen logging functions
5 \author Aram Verstegen
6
7 This header contains the declarations of the EEF library functions:
8 -# eef_log(int priority, char* format_string, va_args data): Logs string to syslog with a given priority, which are printed to stdout or stderr depending on their priority, and always to syslog.
9 */
10
11 #ifndef EEF_LOG_H
12 #define EEF_LOG_H
13 #if HAVE_CONFIG_H
14 #include "config.h"
15 #endif
16 #if HAVE_STRING_H
17 #include <string.h>
18 #endif
19 #if HAVE_SYSLOG_H
20 #include <syslog.h>
21 #endif
22 #if HAVE_STDARG_H
23 #include <stdarg.h>
24 #endif
25 #if HAVE_STRING_H
26 #include <string.h>
27 #endif
28 #if HAVE_STDIO_H
29 #include <stdio.h>
30 #endif
31 #if HAVE_TIME_H
32 #include <time.h>
33 #endif
34 #if HAVE_STDLIB_H
35 #include <stdlib.h>
36 #endif
37 #include "eef_return_codes.h"
38
39 /* alt void means return value doesn't need to be checked (to reduce output of splint) */
40 extern EES_RC /*@alt void@*/ eef_log(int, char*, ...);
41 extern FILE* log_file_fp;
42
43 /* convenience methods */
44 char* append_newline(char* string);
45 char* strip_newline(char* string);
46
47 #endif

Properties

Name Value
svn:mergeinfo

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28