diff options
-rw-r--r-- | CONTRIBUTORS | 1 | ||||
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | recording.c | 4 | ||||
-rw-r--r-- | recording.h | 8 |
4 files changed, 11 insertions, 3 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS index afced900..2a9dd18d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1291,6 +1291,7 @@ Stefan Meyknecht <stefan@meyknecht.org> Lucian Muresan <lucianm@users.sourceforge.net> for updating the Romanian language texts and the iso8859-2 fonts for making VDR actually use the iso8859-15 fonts + for suggesting to make the function ExchangeChars() Mattias Grönlund <Mattias@Gronlund.net> for pointing out a missing cleanup at program exit in case there is a problem @@ -3848,3 +3848,4 @@ Video Disk Recorder Revision History - The '.update' file in the video directory is now touched when a recording is added or deleted, so that other VDR instances can update their lists (thanks to Alexander Rieger). +- Made the function ExchangeChars() public (suggested by Lucian Muresan). diff --git a/recording.c b/recording.c index de657698..8b21cdd2 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.118 2005/09/25 13:45:13 kls Exp $ + * $Id: recording.c 1.119 2005/09/25 14:29:49 kls Exp $ */ #include "recording.h" @@ -306,7 +306,7 @@ tCharExchange CharExchange[] = { { 0, 0 } }; -static char *ExchangeChars(char *s, bool ToFileSystem) +char *ExchangeChars(char *s, bool ToFileSystem) { char *p = s; while (*p) { diff --git a/recording.h b/recording.h index 9230540f..96bb4b54 100644 --- a/recording.h +++ b/recording.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.h 1.43 2005/09/25 13:47:07 kls Exp $ + * $Id: recording.h 1.44 2005/09/25 14:30:13 kls Exp $ */ #ifndef __RECORDING_H @@ -227,4 +227,10 @@ int SecondsToFrames(int Seconds); //XXX+ ->player??? int ReadFrame(int f, uchar *b, int Length, int Max); +char *ExchangeChars(char *s, bool ToFileSystem); + // Exchanges the characters in the given string to or from a file system + // specific representation (depending on ToFileSystem). The given string will + // be modified and may be reallocated if more space is needed. The return + // value points to the resulting string, which may be different from s. + #endif //__RECORDING_H |