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:
parent
976a2c7ffe
commit
8ae565d885
@ -1291,6 +1291,7 @@ Stefan Meyknecht <stefan@meyknecht.org>
|
|||||||
Lucian Muresan <lucianm@users.sourceforge.net>
|
Lucian Muresan <lucianm@users.sourceforge.net>
|
||||||
for updating the Romanian language texts and the iso8859-2 fonts
|
for updating the Romanian language texts and the iso8859-2 fonts
|
||||||
for making VDR actually use the iso8859-15 fonts
|
for making VDR actually use the iso8859-15 fonts
|
||||||
|
for suggesting to make the function ExchangeChars()
|
||||||
|
|
||||||
Mattias Grönlund <Mattias@Gronlund.net>
|
Mattias Grönlund <Mattias@Gronlund.net>
|
||||||
for pointing out a missing cleanup at program exit in case there is a problem
|
for pointing out a missing cleanup at program exit in case there is a problem
|
||||||
|
1
HISTORY
1
HISTORY
@ -3848,3 +3848,4 @@ Video Disk Recorder Revision History
|
|||||||
- The '.update' file in the video directory is now touched when a recording is
|
- 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
|
added or deleted, so that other VDR instances can update their lists (thanks to
|
||||||
Alexander Rieger).
|
Alexander Rieger).
|
||||||
|
- Made the function ExchangeChars() public (suggested by Lucian Muresan).
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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"
|
#include "recording.h"
|
||||||
@ -306,7 +306,7 @@ tCharExchange CharExchange[] = {
|
|||||||
{ 0, 0 }
|
{ 0, 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *ExchangeChars(char *s, bool ToFileSystem)
|
char *ExchangeChars(char *s, bool ToFileSystem)
|
||||||
{
|
{
|
||||||
char *p = s;
|
char *p = s;
|
||||||
while (*p) {
|
while (*p) {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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
|
#ifndef __RECORDING_H
|
||||||
@ -227,4 +227,10 @@ int SecondsToFrames(int Seconds); //XXX+ ->player???
|
|||||||
|
|
||||||
int ReadFrame(int f, uchar *b, int Length, int Max);
|
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
|
#endif //__RECORDING_H
|
||||||
|
Loading…
Reference in New Issue
Block a user