From: Miek Gieben Date: Mon, 13 Jun 2005 09:22:45 +0000 (+0000) Subject: new file added. version to .65 X-Git-Tag: release-0.65~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f789140bf02cd20dd8e4728f11f8a592c5000c7f;p=thirdparty%2Fldns.git new file added. version to .65 --- diff --git a/CodingStyle b/CodingStyle index 2d1f09a8..fc50f72f 100644 --- a/CodingStyle +++ b/CodingStyle @@ -1,6 +1,5 @@ The libdns coding style guide - * Use of tabs (real tabs, 8 positions long) * Spaces only after comma's, and in between operators. And after keywords (if, while, for) diff --git a/ProgrammingPhilosophy b/ProgrammingPhilosophy new file mode 100644 index 00000000..e2161d8a --- /dev/null +++ b/ProgrammingPhilosophy @@ -0,0 +1,13 @@ +This short document is intended to shed some light on +the philosophy behind ldns. + +Closely match the api/interface of Perl's Net::DNS; make it easy to +toss around RR sets, DNS packets, Resolvers, etc. etc. + +As said in 'CodingStyle': +* Everything by reference, all data structures an optional _clone() function + +This means that unless something is cloned in a program, it is hard to free +it. The only exception to this in ldns itself is in the resolver structure. +There the .domain ans .nameservers are cloned when they are put in the +structure. This allows a program to free a resolver structure. diff --git a/configure.ac b/configure.ac index 8b2b67d1..7c64a4d6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(libdns, 0.60, libdns@nlnetlabs.nl, libdns) +AC_INIT(libdns, 0.65, libdns@nlnetlabs.nl, libdns) AC_CONFIG_SRCDIR([packet.c]) OURCPPFLAGS='-ansi -pedantic -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600'