diff options
author | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-05-05 21:04:06 +0300 |
---|---|---|
committer | Matti Lehtimäki <matti.lehtimaki@gmail.com> | 2012-05-05 21:04:06 +0300 |
commit | 61b085f1d12ef86807f779f57671fa1e7a5a14c0 (patch) | |
tree | dda0a7b329fe08754784e8ca1da1f03db63839c6 /tools.h | |
parent | bc5ae964c6cf9b24aab49383637894b2e88651b7 (diff) | |
download | vdr-plugin-epgfixer-61b085f1d12ef86807f779f57671fa1e7a5a14c0.tar.gz vdr-plugin-epgfixer-61b085f1d12ef86807f779f57671fa1e7a5a14c0.tar.bz2 |
Improve error logging. Make character list for menu editing modifiable through translation files. New version number.v0.1.0
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -5,14 +5,16 @@ * */ -#ifndef __EPGFIXER_STRINGTOOLS_H_ -#define __EPGFIXER_STRINGTOOLS_H_ +#ifndef __EPGFIXER_TOOLS_H_ +#define __EPGFIXER_TOOLS_H_ #include <vdr/epg.h> #include <vdr/tools.h> #include <unistd.h> #include <stdio.h> +#define error(x...) esyslog("EPGFixer: " x); + #define FREE(x) { free(x); x = NULL; } char *striphtml(char *str); @@ -96,4 +98,4 @@ public: const char *GetConfigFile() { return fileName; } }; -#endif //__EPGFIXER_STRINGTOOLS_H_ +#endif //__EPGFIXER_TOOLS_H_ |