1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Made the function ExchangeChars() public

This commit is contained in:
Klaus Schmidinger 2005-09-25 14:31:23 +02:00
parent 976a2c7ffe
commit 8ae565d885
4 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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).

View File

@ -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) {

View File

@ -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