git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved out- the functions in here used to be in swfvideo.c.
[swftools.git]
/
lib
/
log.h
diff --git
a/lib/log.h
b/lib/log.h
index
34a8c16
..
e9f757f
100644
(file)
--- a/
lib/log.h
+++ b/
lib/log.h
@@
-9,6
+9,9
@@
#ifndef __log_h__
#define __log_h__
#ifndef __log_h__
#define __log_h__
+#ifdef __cplusplus
+extern "C" {
+#endif
#ifdef __NT__
#include "stdafx.h"
#ifdef __NT__
#include "stdafx.h"
@@
-27,10
+30,15
@@
#define LOGLEVEL_VERBOSE 4
#define LOGLEVEL_DEBUG 5
#define LOGLEVEL_VERBOSE 4
#define LOGLEVEL_DEBUG 5
+extern int screenloglevel;
+
extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel);
extern void initLog(char* pLogDir, int fileloglevel, char* servAddr, char* logPort, int serverloglevel, int screenloglevel);
-extern void logf(const char* logFormat, ...);
+extern void msg(const char* logFormat, ...);
extern void exitLog(void);
#define FIXNULL(a) ((int)(a)?(a):"NULL")
extern void exitLog(void);
#define FIXNULL(a) ((int)(a)?(a):"NULL")
+#ifdef __cplusplus
+}
+#endif
#endif // __log_h__
#endif // __log_h__