From e0d5ebf8fd1d508776d63026a9dd336fbb0d648d Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 7 Jan 2006 14:10:17 +0100 Subject: The file 'ca.conf' is obsolete and has been removed; revised all descriptions regarding CICAM --- config.c | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) (limited to 'config.c') diff --git a/config.c b/config.c index 6e02e3f8..ec06a329 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.139 2006/01/04 14:37:54 kls Exp $ + * $Id: config.c 1.140 2006/01/07 12:28:49 kls Exp $ */ #include "config.h" @@ -120,24 +120,6 @@ bool cSVDRPhost::Accepts(in_addr_t Address) return (Address & mask) == addr.s_addr; } -// -- cCaDefinition ---------------------------------------------------------- - -cCaDefinition::cCaDefinition(void) -{ - number = 0; - description = NULL; -} - -cCaDefinition::~cCaDefinition() -{ - free(description); -} - -bool cCaDefinition::Parse(const char *s) -{ - return 2 == sscanf(s, "%d %a[^\n]", &number, &description) && description && *description; -} - // -- cCommands -------------------------------------------------------------- cCommands Commands; @@ -158,21 +140,6 @@ bool cSVDRPhosts::Acceptable(in_addr_t Address) return false; } -// -- cCaDefinitions --------------------------------------------------------- - -cCaDefinitions CaDefinitions; - -const cCaDefinition *cCaDefinitions::Get(int Number) -{ - cCaDefinition *p = First(); - while (p) { - if (p->Number() == Number) - return p; - p = (cCaDefinition *)p->Next(); - } - return NULL; -} - // -- cSetupLine ------------------------------------------------------------- cSetupLine::cSetupLine(void) -- cgit v1.2.3