summaryrefslogtreecommitdiff
path: root/radiotools.h
diff options
context:
space:
mode:
authorUlrich Eckhardt <vdr@uli-eckhardt.de>2017-04-23 16:10:16 +0200
committerUlrich Eckhardt <vdr@uli-eckhardt.de>2017-04-23 16:10:16 +0200
commit1dbb7611337dc4b61817cad734a47b1a0404b77c (patch)
treee9b41e387c25c05678d84ce388f9e1977ff18f84 /radiotools.h
downloadvdr-plugin-radio-1dbb7611337dc4b61817cad734a47b1a0404b77c.tar.gz
vdr-plugin-radio-1dbb7611337dc4b61817cad734a47b1a0404b77c.tar.bz2
Import of original Radio Plugin 1.0.01.0.0
Diffstat (limited to 'radiotools.h')
-rw-r--r--radiotools.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/radiotools.h b/radiotools.h
new file mode 100644
index 0000000..b948202
--- /dev/null
+++ b/radiotools.h
@@ -0,0 +1,29 @@
+/*
+ * radiotools.h - part of radio.c, a plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ */
+
+#ifndef __RADIO_TOOLS_H
+#define __RADIO_TOOLS_H
+
+
+bool file_exists(const char *filename);
+
+bool enforce_directory(const char *path);
+
+unsigned short crc16_ccitt(unsigned char *daten, int len, bool skipfirst);
+
+char *rds_entitychar(char *text);
+
+char *xhtml2text(char *text);
+
+char *rtrim(char *text);
+
+char *audiobitrate(const unsigned char *data);
+
+void tmc_parser(unsigned char *data, int len); // Alert-c
+
+
+#endif //__RADIO_TOOLS_H