export ExchangeChars(..) from recording.c

Message ID 43313EC3.8050309@users.sourceforge.net
State New
Headers

Commit Message

Lucian Muresan Sept. 21, 2005, 11:06 a.m. UTC
  Hi,

I'd like to propose a tiny patch that won't hurt (I think), which makes
the ExchangeChars(...) function available outside recording.c.

I have worked on a patch in the vdr-burn-0.0.6h plugin where I'd need
this function for generating the name of the folder where an authored
DVD structure would be moved for subsequent "manual" burning outside of VDR.

Regards,
Lucian
  

Patch

diff -Naur vdr-1.3.32_orig/recording.c vdr-1.3.32/recording.c
--- vdr-1.3.32_orig/recording.c	2005-09-10 14:36:48.000000000 +0200
+++ vdr-1.3.32/recording.c	2005-09-21 12:55:43.470000000 +0200
@@ -288,7 +288,7 @@ 
   { 0, 0 }
   };
 
-static char *ExchangeChars(char *s, bool ToFileSystem)
+char *ExchangeChars(char *s, bool ToFileSystem)
 {
   char *p = s;
   while (*p) {
diff -Naur vdr-1.3.32_orig/recording.h vdr-1.3.32/recording.h
--- vdr-1.3.32_orig/recording.h	2005-09-03 15:04:41.000000000 +0200
+++ vdr-1.3.32/recording.h	2005-09-21 12:55:43.470000000 +0200
@@ -205,4 +205,6 @@ 
 
 int ReadFrame(int f, uchar *b, int Length, int Max);
 
+char *ExchangeChars(char *s, bool ToFileSystem);
+
 #endif //__RECORDING_H