]>
git.ipfire.org Git - thirdparty/ldns.git/log
Jelte Jansen [Tue, 21 Dec 2004 13:12:22 +0000 (13:12 +0000)]
backported vsnprintf fix from nsd
Jelte Jansen [Tue, 21 Dec 2004 12:54:00 +0000 (12:54 +0000)]
added ldns-ified nsd buffers for easy buffer manupulation
made a very first start with 2str functions (:p)
Jelte Jansen [Tue, 21 Dec 2004 12:16:26 +0000 (12:16 +0000)]
other way to combine lint and static inlines
Miek Gieben [Tue, 21 Dec 2004 12:15:46 +0000 (12:15 +0000)]
comments removed
Erik Rozendaal [Tue, 21 Dec 2004 10:19:09 +0000 (10:19 +0000)]
configure.ac: libdns uses -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600.
Jelte Jansen [Mon, 20 Dec 2004 14:23:07 +0000 (14:23 +0000)]
enum for packet sections
Jelte Jansen [Mon, 20 Dec 2004 13:51:11 +0000 (13:51 +0000)]
got some beauty tips from erik
Jelte Jansen [Mon, 20 Dec 2004 13:35:22 +0000 (13:35 +0000)]
added wire2rdata
wire2* now takes pointer to pointer to type, and allocates memory itself (if parsing of wire succeeds)
Jelte Jansen [Mon, 20 Dec 2004 09:43:18 +0000 (09:43 +0000)]
added access functions
added looping pointer check
Erik Rozendaal [Thu, 16 Dec 2004 15:22:31 +0000 (15:22 +0000)]
rr.c: (ldns_wire2dname) Free allocated memory and return error code if
call to ldns_rdf_new() fails.
Miek Gieben [Thu, 16 Dec 2004 15:13:13 +0000 (15:13 +0000)]
gcc is te dom om mijn gedachten te lezen
Miek Gieben [Thu, 16 Dec 2004 15:12:35 +0000 (15:12 +0000)]
MALLOC checks, and statuscode
Jelte Jansen [Thu, 16 Dec 2004 15:09:08 +0000 (15:09 +0000)]
removed rest of _
renamed function ldns_rdf_type() to ldns_rdf_get_type() because of conflict with type ldns_rdf_type
Jelte Jansen [Thu, 16 Dec 2004 15:01:01 +0000 (15:01 +0000)]
2dname uses rdf_new()
_ldns_rdf_new -> ldns_rdf_new + added to .h
Jelte Jansen [Thu, 16 Dec 2004 14:50:58 +0000 (14:50 +0000)]
:p
Jelte Jansen [Thu, 16 Dec 2004 14:35:07 +0000 (14:35 +0000)]
off by 1 :p
Miek Gieben [Thu, 16 Dec 2004 14:27:46 +0000 (14:27 +0000)]
malloc -> XMALLOC and other shallow fixes
Erik Rozendaal [Thu, 16 Dec 2004 14:23:42 +0000 (14:23 +0000)]
wire2host.c: (ldns_wire2dname) Removed unneeded memcpy.
Erik Rozendaal [Thu, 16 Dec 2004 14:21:37 +0000 (14:21 +0000)]
wire2host.c: (ldns_wire2dname) Use the stack, Luke!
Jelte Jansen [Thu, 16 Dec 2004 14:19:53 +0000 (14:19 +0000)]
fixed errors on bsd
Jelte Jansen [Thu, 16 Dec 2004 14:00:46 +0000 (14:00 +0000)]
forgot to add, my bad
Jelte Jansen [Thu, 16 Dec 2004 13:59:42 +0000 (13:59 +0000)]
wire2dname now allocates data itself
wire2dname now puts dname in ldns_rdf
made start with status returns in wire2 functions
moved wire2packet, wire2rr and wire2dname to wire2host.c
added wire2host to makefile
Erik Rozendaal [Thu, 16 Dec 2004 12:50:48 +0000 (12:50 +0000)]
svn:ignore: Ignore .gdb_history.
Miek Gieben [Thu, 16 Dec 2004 12:20:04 +0000 (12:20 +0000)]
libdnsified
Erik Rozendaal [Thu, 16 Dec 2004 12:17:52 +0000 (12:17 +0000)]
rr.h: (ldns_rr_class, ldns_rr_type) New enumerations.
rdata.h: (ldns_rdf_type) Prefix enum members with LDNS.
Miek Gieben [Thu, 16 Dec 2004 12:11:39 +0000 (12:11 +0000)]
buf.h added, we need some kind of holding place of dns data
Miek Gieben [Thu, 16 Dec 2004 12:03:10 +0000 (12:03 +0000)]
copied from NSD - nothing changed yet
Miek Gieben [Thu, 16 Dec 2004 11:55:10 +0000 (11:55 +0000)]
conversion file placeholders
Miek Gieben [Thu, 16 Dec 2004 11:47:35 +0000 (11:47 +0000)]
exit exit
Erik Rozendaal [Thu, 16 Dec 2004 11:23:34 +0000 (11:23 +0000)]
rdata.h: Renamed RDF type constants.
Miek Gieben [Thu, 16 Dec 2004 11:19:35 +0000 (11:19 +0000)]
last 2 fixes
Miek Gieben [Thu, 16 Dec 2004 11:13:06 +0000 (11:13 +0000)]
types and function names conversion
Erik Rozendaal [Thu, 16 Dec 2004 11:01:56 +0000 (11:01 +0000)]
ldns/ldns.h: Include ldns/error.h.
Jelte Jansen [Thu, 16 Dec 2004 10:43:46 +0000 (10:43 +0000)]
packet2wire now uses read_uint16
doxygen: javadoc style briefs (first line until . is always read as brief)
doxygen: ldns/ is also read now (as well as all other subdirectories)
Erik Rozendaal [Thu, 16 Dec 2004 10:40:03 +0000 (10:40 +0000)]
CodingStyle: Added standard abbreviation list. Minor other changes.
Erik Rozendaal [Thu, 16 Dec 2004 09:07:43 +0000 (09:07 +0000)]
util.h: Shut up splint.
Erik Rozendaal [Thu, 16 Dec 2004 09:02:45 +0000 (09:02 +0000)]
Makefile.in: Allow 'lint' outside of source directory.
Erik Rozendaal [Thu, 16 Dec 2004 09:00:11 +0000 (09:00 +0000)]
Makefile.in: Allow building outside of source directory.
Erik Rozendaal [Thu, 16 Dec 2004 08:55:20 +0000 (08:55 +0000)]
Makefile.in: Don't pass CPPFLAGS to lint, just '-I.'.
Erik Rozendaal [Thu, 16 Dec 2004 08:50:59 +0000 (08:50 +0000)]
configure.ac: (AC_C_CONST, AC_C_INLINE) Check for const and inline
keywords. (OURCPPFLAGS) New. (OURCFLAGS) Moved from Makefile.in.
Makefile.in: Removed OURCFLAGS.
util.h: (read_uint16, read_uint32) Copied from NSD.
rr.c: Use read_uint16 and read_uint32.
Erik Rozendaal [Thu, 16 Dec 2004 08:50:56 +0000 (08:50 +0000)]
configure.ac: (AC_C_CONST, AC_C_INLINE) Check for const and inline
keywords. (OURCPPFLAGS) New. (OURCFLAGS) Moved from Makefile.in.
Makefile.in: Removed OURCFLAGS.
util.h: (read_uint16, read_uint32) Copied from NSD.
rr.c: Use read_uint16 and read_uint32.
Erik Rozendaal [Thu, 16 Dec 2004 08:50:53 +0000 (08:50 +0000)]
configure.ac: (AC_C_CONST, AC_C_INLINE) Check for const and inline
keywords. (OURCPPFLAGS) New. (OURCFLAGS) Moved from Makefile.in.
Makefile.in: Removed OURCFLAGS.
util.h: (read_uint16, read_uint32) Copied from NSD.
rr.c: Use read_uint16 and read_uint32.
Erik Rozendaal [Thu, 16 Dec 2004 08:50:50 +0000 (08:50 +0000)]
configure.ac: (AC_C_CONST, AC_C_INLINE) Check for const and inline
keywords. (OURCPPFLAGS) New. (OURCFLAGS) Moved from Makefile.in.
Makefile.in: Removed OURCFLAGS.
util.h: (read_uint16, read_uint32) Copied from NSD.
rr.c: Use read_uint16 and read_uint32.
Jelte Jansen [Wed, 15 Dec 2004 14:46:48 +0000 (14:46 +0000)]
added ldns_wire2dname and ldns_wire2rr (without rdata, but with lots of TODO :p)
put a bigger test packet in run-test0.c (response packet to drill www.kanariepiet.com)
Erik Rozendaal [Wed, 15 Dec 2004 13:08:55 +0000 (13:08 +0000)]
Bad splint.
Erik Rozendaal [Wed, 15 Dec 2004 13:07:32 +0000 (13:07 +0000)]
Makefile.in: Fixed LIBDNS_HEADERS.
Miek Gieben [Wed, 15 Dec 2004 13:01:18 +0000 (13:01 +0000)]
moved stuff around - CodingStyle fixes
Jelte Jansen [Wed, 15 Dec 2004 12:47:26 +0000 (12:47 +0000)]
t_rr -> ldns_rr_type
Miek Gieben [Wed, 15 Dec 2004 12:34:17 +0000 (12:34 +0000)]
error.h started, used in rdata.c _ldns_octet
Miek Gieben [Wed, 15 Dec 2004 11:32:29 +0000 (11:32 +0000)]
vim syntax file. Added to repo for personal convience
Jelte Jansen [Wed, 15 Dec 2004 11:27:18 +0000 (11:27 +0000)]
initial ldns_packet_free()
Erik Rozendaal [Wed, 15 Dec 2004 10:05:17 +0000 (10:05 +0000)]
rr.c: (ldns_rr_descriptor_maximum) Return UINT_MAX instead of SIZE_MAX
for portability.
Erik Rozendaal [Wed, 15 Dec 2004 10:00:07 +0000 (10:00 +0000)]
Updated RR rdata field descriptor table to be able to deal with variable
number of rdata fields. Moved the table from rdata.{c,h} to rr.{c,h}.
Erik Rozendaal [Wed, 15 Dec 2004 09:58:46 +0000 (09:58 +0000)]
Emacs configuration.
Jelte Jansen [Wed, 15 Dec 2004 08:55:43 +0000 (08:55 +0000)]
t_header -> ldns_header_type
t_packet -> ldns_packet_type
Erik Rozendaal [Wed, 15 Dec 2004 08:53:32 +0000 (08:53 +0000)]
rr.c: (ldns_rr_push_rd_field) Return true on success.
Jelte Jansen [Wed, 15 Dec 2004 08:50:39 +0000 (08:50 +0000)]
removed double #define for header byte size
Erik Rozendaal [Wed, 15 Dec 2004 08:50:30 +0000 (08:50 +0000)]
rr.c: (ldns_rr_push_rd_field) Check result of XREALLOC and return false on
failure.
Erik Rozendaal [Wed, 15 Dec 2004 08:45:53 +0000 (08:45 +0000)]
rr.c: (ldns_rr_push_rd_field) Updated for new XREALLOC macro usage.
Erik Rozendaal [Wed, 15 Dec 2004 08:39:05 +0000 (08:39 +0000)]
util.h: (MALLOC, XMALLOC, REALLOC, XREALLOC) Changed to be more C like.
packet.c: (ldns_wire2packet) Updated to coding standards.
packet.c: (ldns_wire2packet_header) Made static. Fixed bounds checking.
Erik Rozendaal [Tue, 14 Dec 2004 15:40:42 +0000 (15:40 +0000)]
packet.c: (ldns_wire2packet_header) Replaced evil C99/C++ single line
comment with standard C89 comment.
Jelte Jansen [Tue, 14 Dec 2004 15:07:05 +0000 (15:07 +0000)]
prefix ahoy
Jelte Jansen [Tue, 14 Dec 2004 14:49:29 +0000 (14:49 +0000)]
wire2packet_header paranmeters according to coding_style
defines for constants and masks
Erik Rozendaal [Tue, 14 Dec 2004 13:37:08 +0000 (13:37 +0000)]
Use bool type.
Erik Rozendaal [Tue, 14 Dec 2004 13:30:36 +0000 (13:30 +0000)]
Check for packet.c with AC_CONFIG_SRCDIR.
Check for stdbool.h.
Erik Rozendaal [Tue, 14 Dec 2004 13:26:51 +0000 (13:26 +0000)]
Moved external include files to ldns directory.
Jelte Jansen [Tue, 14 Dec 2004 13:20:31 +0000 (13:20 +0000)]
splint warnings
Miek Gieben [Tue, 14 Dec 2004 13:19:17 +0000 (13:19 +0000)]
ldns_ and _ldns_ prefixing + CodingStyle
Jelte Jansen [Tue, 14 Dec 2004 13:15:20 +0000 (13:15 +0000)]
field names
Miek Gieben [Tue, 14 Dec 2004 13:13:21 +0000 (13:13 +0000)]
member underscores added
Jelte Jansen [Tue, 14 Dec 2004 13:06:43 +0000 (13:06 +0000)]
codingstylez
Erik Rozendaal [Tue, 14 Dec 2004 10:47:04 +0000 (10:47 +0000)]
Ignore run-test executables.
Jelte Jansen [Tue, 14 Dec 2004 10:46:56 +0000 (10:46 +0000)]
right, wrong coding standards (for tabs), reverted to real tabs
Jelte Jansen [Tue, 14 Dec 2004 10:43:23 +0000 (10:43 +0000)]
bit of coding style applied
Erik Rozendaal [Tue, 14 Dec 2004 10:40:10 +0000 (10:40 +0000)]
Makefile.in: splint target is PHONY.
Erik Rozendaal [Tue, 14 Dec 2004 10:33:35 +0000 (10:33 +0000)]
Makefile.in: Added 'lint' target to call splint.
Erik Rozendaal [Tue, 14 Dec 2004 10:03:39 +0000 (10:03 +0000)]
Emacs configuration for coding style.
Erik Rozendaal [Tue, 14 Dec 2004 09:47:51 +0000 (09:47 +0000)]
Fixed prefix.
Miek Gieben [Mon, 13 Dec 2004 13:31:29 +0000 (13:31 +0000)]
doxygen doc
Erik Rozendaal [Mon, 13 Dec 2004 13:07:19 +0000 (13:07 +0000)]
rr.c: (rr_push_rd_field) Allocate correct type.
Erik Rozendaal [Mon, 13 Dec 2004 13:06:47 +0000 (13:06 +0000)]
util.h: Ensure XMALLOC and XREALLOC are only used as statements.
rr.c: (rr_push_rd_field) Allocate correct type.
Miek Gieben [Mon, 13 Dec 2004 12:53:30 +0000 (12:53 +0000)]
compiles - but warnings are still there
Miek Gieben [Mon, 13 Dec 2004 12:39:17 +0000 (12:39 +0000)]
ook nodig
Miek Gieben [Mon, 13 Dec 2004 12:37:38 +0000 (12:37 +0000)]
does not compile - ik zie het ff niet meer...
Miek Gieben [Mon, 13 Dec 2004 11:05:23 +0000 (11:05 +0000)]
coding style doc added
Miek Gieben [Mon, 13 Dec 2004 11:01:59 +0000 (11:01 +0000)]
plucked from NSD, an array that describes the rdata_fields
Miek Gieben [Mon, 13 Dec 2004 09:47:35 +0000 (09:47 +0000)]
check for NULLs - rethink the whole void stuff on _set functions. Added splint test
Jelte Jansen [Fri, 10 Dec 2004 14:25:17 +0000 (14:25 +0000)]
packet access functions
started with dns_wire2packet
fixed typos in configure.ac and packet.h
Miek Gieben [Thu, 9 Dec 2004 14:51:22 +0000 (14:51 +0000)]
make doc (and friends) target added
Miek Gieben [Thu, 9 Dec 2004 14:40:10 +0000 (14:40 +0000)]
erik fix
Miek Gieben [Thu, 9 Dec 2004 14:37:56 +0000 (14:37 +0000)]
first test added
Miek Gieben [Thu, 9 Dec 2004 14:33:27 +0000 (14:33 +0000)]
segfault (yeah, the first) fixed in rr_push_rd_field
Miek Gieben [Thu, 9 Dec 2004 14:21:03 +0000 (14:21 +0000)]
more stuff implemented
Miek Gieben [Thu, 9 Dec 2004 13:59:53 +0000 (13:59 +0000)]
rr.c created. Access functions added
Miek Gieben [Thu, 9 Dec 2004 13:39:15 +0000 (13:39 +0000)]
access functions for rr's
Miek Gieben [Thu, 9 Dec 2004 13:38:51 +0000 (13:38 +0000)]
nu is het echt stuk
Erik Rozendaal [Thu, 9 Dec 2004 13:38:38 +0000 (13:38 +0000)]
All good now...
Erik Rozendaal [Thu, 9 Dec 2004 13:37:17 +0000 (13:37 +0000)]
And again...
Erik Rozendaal [Thu, 9 Dec 2004 13:35:41 +0000 (13:35 +0000)]
Intentional error.
Erik Rozendaal [Thu, 9 Dec 2004 13:19:50 +0000 (13:19 +0000)]
Makefile.in: Automatic generation of dependencies. Clean doesn't
remove file generated by autoconf, configure, etc. Use 'realclean'
instead. Added '-W' option to OURCFLAGS.