summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-03-26 23:16:36 +0100
committerJochen Dolze <vdr@dolze.de>2010-03-26 23:16:36 +0100
commit5ffec495064060e5e21a255c5358d2f2cabc8056 (patch)
treea6b1b4d10206d70210bf2cfab2b5e3776f5d9a54
parent9d00888b7602718f6b6954a51a8bfd468b5573fb (diff)
downloadvdr-plugin-markad-5ffec495064060e5e21a255c5358d2f2cabc8056.tar.gz
vdr-plugin-markad-5ffec495064060e5e21a255c5358d2f2cabc8056.tar.bz2
Added missing debug.h
-rw-r--r--debug.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/debug.h b/debug.h
new file mode 100644
index 0000000..33745b3
--- /dev/null
+++ b/debug.h
@@ -0,0 +1,17 @@
+/*
+ * debug.h: A program for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __debug_h_
+#define __debug_h_
+
+#ifndef LOG_ERR
+#define LOG_ERR 3
+#endif
+
+#define tsyslog(fmt,...) void( (SysLogLevel > 3) ? syslog_with_tid(LOG_ERR, fmt, __VA_ARGS__) : void() )
+
+#endif \ No newline at end of file