diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-07 14:10:17 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-07 14:10:17 +0100 |
commit | e0d5ebf8fd1d508776d63026a9dd336fbb0d648d (patch) | |
tree | cf80c8bbd3d669cfe941164955ce04b8a7957637 /config.c | |
parent | 2e0a3f273a18fd6bcf2bc347a6ca449ac7304016 (diff) | |
download | vdr-e0d5ebf8fd1d508776d63026a9dd336fbb0d648d.tar.gz vdr-e0d5ebf8fd1d508776d63026a9dd336fbb0d648d.tar.bz2 |
The file 'ca.conf' is obsolete and has been removed; revised all descriptions regarding CICAM
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 35 |
1 files changed, 1 insertions, 34 deletions
@@ -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) |