diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-23 15:01:31 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-07-23 15:01:31 +0200 |
commit | 52514313fbb740517a65da615de18d3e6e9e151a (patch) | |
tree | ea146bb811e2d3910b02b200dadc8e92a3eeab30 /tools.h | |
parent | a91ff70bf20ec3ed0d53a40b688c31206e79d35f (diff) | |
download | vdr-52514313fbb740517a65da615de18d3e6e9e151a.tar.gz vdr-52514313fbb740517a65da615de18d3e6e9e151a.tar.bz2 |
Implemented SVDRP
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.h 1.9 2000/07/16 14:11:34 kls Exp $ + * $Id: tools.h 1.10 2000/07/23 13:16:37 kls Exp $ */ #ifndef __TOOLS_H @@ -35,11 +35,14 @@ void writechar(int filedes, char c); void writeint(int filedes, int n); char readchar(int filedes); bool readint(int filedes, int &n); +int readstring(int filedes, char *buffer, int size, bool wait = false); void purge(int filedes); char *readline(FILE *f); char *strreplace(char *s, char c1, char c2); +char *skipspace(char *s); int time_ms(void); void delay_ms(int ms); +bool isnumber(const char *s); bool MakeDirs(const char *FileName, bool IsDirectory = false); bool RemoveFileOrDir(const char *FileName); bool CheckProcess(pid_t pid); |