summaryrefslogtreecommitdiff
path: root/radiotools.h
blob: b9482027c43135c1aaa37e969c001bd51abecf9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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