[PATCH] export ExchangeChars(..) from recording.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-------------- next part --------------
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

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux