diff options
author | Antti Ajanki <antti.ajanki@iki.fi> | 2010-08-25 20:13:45 +0300 |
---|---|---|
committer | Antti Ajanki <antti.ajanki@iki.fi> | 2010-08-25 20:13:45 +0300 |
commit | f817cb0f4c07788a2c114590fd317c94c9a3958c (patch) | |
tree | 7acfc743cb19218e48f25a158c842b457ba7bfd9 /src/vdr-plugin/common.h | |
parent | 8ceffe4de296a21ad841a865315ca1d1370777c9 (diff) | |
download | vdr-plugin-webvideo-f817cb0f4c07788a2c114590fd317c94c9a3958c.tar.gz vdr-plugin-webvideo-f817cb0f4c07788a2c114590fd317c94c9a3958c.tar.bz2 |
call a script after downloading finishes
Diffstat (limited to 'src/vdr-plugin/common.h')
-rw-r--r-- | src/vdr-plugin/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vdr-plugin/common.h b/src/vdr-plugin/common.h index 5b4385f..bbdb8c2 100644 --- a/src/vdr-plugin/common.h +++ b/src/vdr-plugin/common.h @@ -38,5 +38,7 @@ char *URLdecode(const char *s); // '!') and dots from the beginning. The string is modified in-place, // i.e. returns the pointer filename that was passed as argument. char *safeFilename(char *filename); +// Escape s so that it can be passed as parameter to a shell command. +cString shellEscape(const char *s); #endif // __WEBVIDEO_COMMON_H |