Changeset 568
- Timestamp:
- 03/02/06 22:21:16 (7 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 6 modified
-
arguments.cc (modified) (2 diffs)
-
arguments.hh (modified) (1 diff)
-
packetcache.hh (modified) (1 diff)
-
packethandler.hh (modified) (1 diff)
-
receiver.cc (modified) (2 diffs)
-
ueberbackend.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/arguments.cc
r215 r568 1 1 /* 2 2 PowerDNS Versatile Database Driven Nameserver 3 Copyright (C) 2002 PowerDNS.COM BV3 Copyright (C) 2002 - 2006 PowerDNS.COM BV 4 4 5 5 This program is free software; you can redistribute it and/or modify 6 it under the terms of the GNU General Public License as published by 7 the Free Software Foundation; either version 2 of the License, or 8 (at your option) any later version. 6 it under the terms of the GNU General Public License version 2 as published 7 by the Free Software Foundation 9 8 10 9 This program is distributed in the hope that it will be useful, … … 21 20 22 21 #include "arguments.hh" 23 24 25 22 26 23 const ArgvMap::param_t::const_iterator ArgvMap::begin() -
trunk/pdns/pdns/arguments.hh
r215 r568 78 78 parse(argc,argv,true); 79 79 } 80 void ArgvMap::preParse(int &argc, char **argv, const string &arg); //!< use this to preparse a single var81 bool ArgvMap::preParseFile(const char *fname, const string &arg); //!< use this to preparse a single var in configuration80 void preParse(int &argc, char **argv, const string &arg); //!< use this to preparse a single var 81 bool preParseFile(const char *fname, const string &arg); //!< use this to preparse a single var in configuration 82 82 83 83 bool file(const char *fname, bool lax=false); //!< Parses a file with parameters -
trunk/pdns/pdns/packetcache.hh
r215 r568 64 64 PacketCache(); 65 65 void insert(DNSPacket *q, DNSPacket *r); //!< We copy the contents of *p into our cache. Do not needlessly call this to insert questions already in the cache as it wastes resources 66 void PacketCache::insert(const char *packet, int length);66 void insert(const char *packet, int length); 67 67 68 68 inline int get(DNSPacket *p, DNSPacket *q); //!< We return a dynamically allocated copy out of our cache. You need to delete it. You also need to spoof in the right ID with the DNSPacket.spoofID() method. -
trunk/pdns/pdns/packethandler.hh
r518 r568 83 83 int processNotify(DNSPacket *); 84 84 void addRootReferral(DNSPacket *r); 85 int PacketHandler::trySuperMaster(DNSPacket *p);85 int trySuperMaster(DNSPacket *p); 86 86 int makeCanonic(DNSPacket *p, DNSPacket *r, string &target); 87 87 int doWildcardRecords(DNSPacket *p, DNSPacket *r, string &target); -
trunk/pdns/pdns/receiver.cc
r475 r568 1 1 /* 2 2 PowerDNS Versatile Database Driven Nameserver 3 Copyright (C) 2002 - 200 5PowerDNS.COM BV3 Copyright (C) 2002 - 2006 PowerDNS.COM BV 4 4 5 5 This program is free software; you can redistribute it and/or modify … … 573 573 DLOG(L<<Logger::Warning<<"Verbose logging in effect"<<endl); 574 574 575 L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-200 5PowerDNS.COM BV ("<<__DATE__", "__TIME__;575 L<<Logger::Warning<<"PowerDNS "<<VERSION<<" (C) 2001-2006 PowerDNS.COM BV ("<<__DATE__", "__TIME__; 576 576 #ifdef __GNUC__ 577 577 L<<", gcc "__VERSION__; -
trunk/pdns/pdns/ueberbackend.hh
r326 r568 121 121 static DNSBackend *maker(const map<string,string> &); 122 122 static void closeDynListener(); 123 static void UeberBackend::setStatus(const string &st);123 static void setStatus(const string &st); 124 124 void getUnfreshSlaveInfos(vector<DomainInfo>* domains); 125 125 void getUpdatedMasters(vector<DomainInfo>* domains);