summaryrefslogtreecommitdiff
path: root/rep.h
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-05 16:48:30 +0100
committerhorchi <vdr@jwendel.de>2017-03-05 16:48:30 +0100
commitbf558fd824c7ab8c794448f718b364ad403a706a (patch)
treee0ba2269c08ccc9c9bd9c336df06b1fa6fce5ec6 /rep.h
downloadvdr-plugin-pin-0.1.16.tar.gz
vdr-plugin-pin-0.1.16.tar.bz2
git init0.1.16
Diffstat (limited to 'rep.h')
-rw-r--r--rep.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/rep.h b/rep.h
new file mode 100644
index 0000000..f0373c0
--- /dev/null
+++ b/rep.h
@@ -0,0 +1,31 @@
+/*
+ * pin.c: A plugin for the Video Disk Recorder
+ *
+ * See the README file for copyright information and how to reach the author.
+ *
+ * Date: 28.01.2006, horchi
+ */
+
+//***************************************************************************
+
+#ifndef __REP_H__
+#define __REP_H__
+
+//***************************************************************************
+
+enum Option
+{
+ repUseRegularExpression = 1,
+ repIgnoreCase = 2
+};
+
+int rep(const char* string, const char* expression, Option options = repUseRegularExpression);
+
+int rep(const char* string, const char* expression,
+ const char*& s_location, Option options = repUseRegularExpression);
+
+int rep(const char* string, const char* expression, const char*& s_location,
+ const char*& e_location, Option options = repUseRegularExpression);
+
+//***************************************************************************
+#endif