]> git.ipfire.org Git - thirdparty/ldns.git/commitdiff
new file added. version to .65
authorMiek Gieben <miekg@NLnetLabs.nl>
Mon, 13 Jun 2005 09:22:45 +0000 (09:22 +0000)
committerMiek Gieben <miekg@NLnetLabs.nl>
Mon, 13 Jun 2005 09:22:45 +0000 (09:22 +0000)
CodingStyle
ProgrammingPhilosophy [new file with mode: 0644]
configure.ac

index 2d1f09a82830c3ab31d4a528b936b5b1575ba2a5..fc50f72f25afbe0514f02de39feb76fd1b5e7f9c 100644 (file)
@@ -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 (file)
index 0000000..e2161d8
--- /dev/null
@@ -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.
index 8b2b67d1410c1c1abbf2b53e99fb10745307a920..7c64a4d65c545d8eff054d517663567d29d16260 100644 (file)
@@ -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'