From 9fee2b67abb2594c5db2ca9f66525cb09e7b5cc7 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 10 Nov 2002 15:50:21 +0100 Subject: First step towards a 'unique channel ID' --- tools.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 08f2429b..efa2de6a 100644 --- a/tools.h +++ b/tools.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.h 1.51 2002/10/19 12:31:50 kls Exp $ + * $Id: tools.h 1.52 2002/11/09 15:32:36 kls Exp $ */ #ifndef __TOOLS_H @@ -20,6 +20,7 @@ #include typedef unsigned char uchar; +typedef unsigned long long int uint64; extern int SysLogLevel; @@ -68,6 +69,7 @@ int numdigits(int n); int time_ms(void); void delay_ms(int ms); bool isnumber(const char *s); +const char *itoa(int n); // returns a statically allocated string! const char *AddDirectory(const char *DirName, const char *FileName); // returns a statically allocated string! int FreeDiskSpaceMB(const char *Directory, int *UsedMB = NULL); bool DirectoryOk(const char *DirName, bool LogErrors = false); -- cgit v1.2.3