Changeset 501

Show
Ignore:
Timestamp:
10/01/05 20:20:46 (8 years ago)
Author:
ahu
Message:

add some license statements
add 'record content parser/generator' for more symmetry in dnsrecords.cc

Location:
trunk/pdns/pdns
Files:
2 added
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/Makefile.am

    r462 r501  
    1717endif 
    1818 
    19 bin_PROGRAMS = pdns_control  dnswasher dnsreplay dnsreplay_mindex 
     19bin_PROGRAMS = pdns_control  dnswasher dnsreplay  
    2020 
    21 EXTRA_PROGRAMS=pdns_recursor sdig pdns_control qgen dnsscope  
     21EXTRA_PROGRAMS=pdns_recursor sdig pdns_control qgen dnsscope dnsreplay_mindex 
    2222 
    2323pdns_server_SOURCES=dnspacket.cc nameserver.cc tcpreceiver.hh \ 
     
    4242pdns_server_INCLUDES= 
    4343 
    44 sdig_SOURCES=sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc 
     44sdig_SOURCES=sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswriter.cc dnswriter.hh \ 
     45        misc.cc misc.hh 
    4546 
    4647 
     
    5455        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.hh  
    5556 
    56 dnswasher_LDFLAGS= @DYNLINKFLAGS@  
     57dnswasher_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@ 
    5758 
    5859# unix_utility.cc 
     
    6162        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh  
    6263 
    63 dnsreplay_LDFLAGS= @DYNLINKFLAGS@  
     64dnsreplay_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@ 
    6465 
    6566dnsreplay_mindex_SOURCES=dnsreplay-mindex.cc misc.cc  qtype.cc anadns.hh \ 
    6667        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc dnsparser.hh  
    6768 
    68 dnsreplay_mindex_LDFLAGS= @DYNLINKFLAGS@  
     69dnsreplay_mindex_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@ 
    6970 
    7071 
     
    7374        logger.cc statbag.cc  dnspcap.cc dnspcap.hh dnsparser.cc dnsrecords.cc 
    7475 
    75 dnsscope_LDFLAGS= @DYNLINKFLAGS@  
     76dnsscope_LDFLAGS= @DYNLINKFLAGS@ @THREADFLAGS@ 
    7677 
    7778 
  • trunk/pdns/pdns/dnsparser.cc

    r498 r501  
     1/* 
     2    PowerDNS Versatile Database Driven Nameserver 
     3    Copyright (C) 2005  PowerDNS.COM BV 
     4 
     5    This program is free software; you can redistribute it and/or modify 
     6    it under the terms of the GNU General Public License version 2 as  
     7    published by the Free Software Foundation 
     8 
     9    This program is distributed in the hope that it will be useful, 
     10    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     12    GNU General Public License for more details. 
     13 
     14    You should have received a copy of the GNU General Public License 
     15    along with this program; if not, write to the Free Software 
     16    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     17*/ 
     18 
    119#include "dnsparser.hh" 
    220#include <boost/lexical_cast.hpp> 
  • trunk/pdns/pdns/dnsparser.hh

    r499 r501  
     1/* 
     2    PowerDNS Versatile Database Driven Nameserver 
     3    Copyright (C) 2005  PowerDNS.COM BV 
     4 
     5    This program is free software; you can redistribute it and/or modify 
     6    it under the terms of the GNU General Public License version 2 as  
     7    published by the Free Software Foundation 
     8 
     9    This program is distributed in the hope that it will be useful, 
     10    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     12    GNU General Public License for more details. 
     13 
     14    You should have received a copy of the GNU General Public License 
     15    along with this program; if not, write to the Free Software 
     16    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     17*/ 
     18 
    119#ifndef DNSPARSER_HH 
    220#define DNSPARSER_HH 
  • trunk/pdns/pdns/dnsrecords.cc

    r499 r501  
     1/* 
     2    PowerDNS Versatile Database Driven Nameserver 
     3    Copyright (C) 2005  PowerDNS.COM BV 
     4 
     5    This program is free software; you can redistribute it and/or modify 
     6    it under the terms of the GNU General Public License version 2 as  
     7    published by the Free Software Foundation 
     8 
     9    This program is distributed in the hope that it will be useful, 
     10    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     12    GNU General Public License for more details. 
     13 
     14    You should have received a copy of the GNU General Public License 
     15    along with this program; if not, write to the Free Software 
     16    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     17*/ 
     18 
    119#include "dnsrecords.hh" 
    2  
    3  
    420 
    521#define boilerplate(RNAME, RTYPE)                                                                         \ 
  • trunk/pdns/pdns/dnsrecords.hh

    r499 r501  
     1/* 
     2    PowerDNS Versatile Database Driven Nameserver 
     3    Copyright (C) 2005  PowerDNS.COM BV 
     4 
     5    This program is free software; you can redistribute it and/or modify 
     6    it under the terms of the GNU General Public License version 2 as  
     7    published by the Free Software Foundation 
     8 
     9    This program is distributed in the hope that it will be useful, 
     10    but WITHOUT ANY WARRANTY; without even the implied warranty of 
     11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     12    GNU General Public License for more details. 
     13 
     14    You should have received a copy of the GNU General Public License 
     15    along with this program; if not, write to the Free Software 
     16    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     17*/ 
     18 
    119#ifndef PDNS_DNSRECORDS_HH 
    220#define PDNS_DNSRECORDS_HH