Commit Graph

16 Commits

Author SHA1 Message Date
Willem Toorop 373e0e4952 Custom mem funcs per dict/list 2013-11-12 17:00:19 +01:00
Willem Toorop 7158291e05 Custom memory management functions in context 2013-11-11 23:10:22 +01:00
Willem Toorop 3827db1ad4 Yay! Segfault resolved. + another little mem leak
So the segfault was on destroying the req->extensions dict.
This dict should have been initialized by dns_req_new, when it copied the extensions dict that it had as an argument.
Though, the argument could have been NULL in which case nothing is copied.
To overcome, I've altered dnsget_dict_copy to initialize the target with NULL when the src was NULL.
2013-11-08 15:13:49 -08:00
Neel Goyal f8380ff862 Ran indent with the indent.pro committed 2013-11-05 15:03:44 -05:00
Glen Wiley 78cb5480d2 Merge branch 'develop' of https://github.com/verisign/getdns into develop
Conflicts:
	src/sync.c
2013-11-04 18:45:00 -05:00
Glen Wiley 969ae95f09 added extension validation to the primary entry point to catch bogus
extension strings and perform simple type checking on extensions
brief start on man pages, moving MIT license in source code files to BSD
2013-11-04 18:37:54 -05:00
Neel Goyal 31e7bf1a8a Some guards and make example_all_functions at least run 2013-11-04 14:43:06 -05:00
Willem Toorop e0c28a6346 Pretty printing to ldns_buffer
This makes it much more readable
2013-11-01 18:07:03 +01:00
Willem Toorop c1ba94c08a Remove key attribute from getdns_dict_item
It is in the node attribute already
2013-10-30 23:33:29 +01:00
Willem Toorop 6843376521 Pretty print safe & complete... but ugly
And it needs a bit of documentational comments
2013-10-30 23:23:53 +01:00
Willem Toorop 6bc33c50ab Fix stack buffer overflow in _pretty_print_dict 2013-10-30 17:05:49 +01:00
Willem Toorop 7111a0959f A dict based on rbtree 2013-10-30 00:29:30 +01:00
Willem Toorop 55d366f854 Hide dict and list internals from getdns.h 2013-10-29 21:02:21 +01:00
Melinda Shore 2b96fe8ca3 More doxygen markup cleanup 2013-10-10 13:35:29 -07:00
Neel Goyal ff83b43081 Get the async getaddress going 2013-08-15 17:51:26 -04:00
Neel Goyal dba0da5adb Massive restructure and renaming 2013-08-15 10:16:15 -04:00