summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-08-06 12:56:49 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-08-06 12:56:49 +0200
commit0d034bc582c53fde9b6260e604b25eac3cfdeb51 (patch)
tree5a966746fa238c9570216e0a08bb274803ba7d20 /config.c
parentdd6bc9feea50553926a7d7f1b2fc1870dcba4f47 (diff)
downloadvdr-0d034bc582c53fde9b6260e604b25eac3cfdeb51.tar.gz
vdr-0d034bc582c53fde9b6260e604b25eac3cfdeb51.tar.bz2
New SVDRP command UPDT
Diffstat (limited to 'config.c')
-rw-r--r--config.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/config.c b/config.c
index 8890c694..c144d6c0 100644
--- a/config.c
+++ b/config.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: config.c 1.16 2000/07/29 19:09:51 kls Exp $
+ * $Id: config.c 1.17 2000/08/06 12:27:38 kls Exp $
*/
#include "config.h"
@@ -473,3 +473,14 @@ cChannels Channels;
cTimers Timers;
+cTimer *cTimers::GetTimer(cTimer *Timer)
+{
+ cTimer *ti = (cTimer *)First();
+ while (ti) {
+ if (ti->channel == Timer->channel && ti->day == Timer->day && ti->start == Timer->start && ti->stop == Timer->stop)
+ return ti;
+ ti = (cTimer *)ti->Next();
+ }
+ return NULL;
+}
+