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)
--- /dev/null
+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.
# -*- 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'