summaryrefslogtreecommitdiff
path: root/radiotools.h
blob: 8acd311e72280bde8338e1787cf77bc77174cba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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);
const char* ptynr2string(int nr);

#endif //__RADIO_TOOLS_H