Commit Graph

95 Commits

Author SHA1 Message Date
Willem Toorop d2c890ab6a Fill in <organization> place holder.
s/the name of the <organization>/the names of the copyright holders/g
2014-02-25 14:23:19 +01:00
Willem Toorop 8d77505219 s/Versign/Verisign/g in all files 2014-02-25 14:12:33 +01:00
Glen Wiley 6dd03b1cdc fixed spelling of NLnet in licenses, fixed make clean errs in docs 2014-02-24 09:26:20 -05:00
Neel Goyal 7c30f3710a More code review changes 2014-02-20 17:35:27 -05:00
Glen Wiley 344893f87f fixed license and copyright notices 2014-02-20 09:12:19 -05:00
Neel Goyal 38904780f2 Add start of api_info. Add package url for autoconf 2014-02-19 13:15:27 -05:00
Willem Toorop f418c2f1ce rcodes, opcodes and classes defines
Sync with API 0.399
2014-02-19 14:02:02 +01:00
Willem Toorop 660e6b9672 Change sig of fqdn <-> wire format convert funcs
Sync with API 0.394
2014-02-18 15:19:32 +01:00
Willem Toorop 7e2bc9771a Pretty print constant names for values
With the "status", "dnssec_status" and "answer_type" keys.
2014-02-12 23:10:29 +01:00
Willem Toorop d118ccc31e make setter "child" values const
Because they're copied and thus not altered
2014-02-09 21:41:26 +01:00
Neel Goyal 00034c2aae Fix constness on dict setters 2014-02-05 13:51:57 -05:00
Willem Toorop 7d29121721 pretty_print_dict print ints in lists
Bugfix #94
2014-02-04 10:10:12 +01:00
Willem Toorop 650b6dbda4 Print rr type ints as type and dnames as dname 2014-01-31 00:16:34 +01:00
Willem Toorop d9e3485f8b Merge fixes 2014-01-20 16:18:14 +01:00
Willem Toorop 5345753868 Merge branch 'develop' of github.com:verisign/getdns into develop 2014-01-20 16:07:36 +01:00
Neel Goyal a00bcbc761 Fix for issue #68. Implement getdns_dict_remove_name. 2014-01-15 16:25:46 -05:00
Willem Toorop f81db41872 Match getdns.h with current spec
Introducing consts at several places
2014-01-14 17:25:23 +01:00
Neel Goyal db32337238 Fix for #62 2014-01-10 10:45:45 -05:00
Neel Goyal a08a4130c0 Fix for issue #50. 2014-01-10 10:35:03 -05:00
Neel Goyal 34d3f1f938 Fix for issue #67. return INVALID_PARAMETER if name, dict, or child dict are NULL 2014-01-10 10:09:07 -05:00
Neel Goyal 8792fe63a2 Fix issue #44 - remove extra i++ 2013-12-13 15:49:26 -05:00
Willem Toorop 8a8accea42 Copied examples from spec and fixed everything ;)
Well.. fixed the examples so they work and free memory
and fixed our code to return correct dict format with "just_address_answers"

Now tests are probably broken, and also the example-reverse needs some attention
2013-12-11 16:21:49 +01:00
Willem Toorop 3dfe92da64 extended memory functions 2013-12-09 00:52:38 +01:00
Willem Toorop c80cab6929 getdns_strdup, getdns_bindata_(copy|destroy)
Restructure a bit to make that work too
2013-12-09 00:05:18 +01:00
Willem Toorop 8fe9da6503 Header functions, structs/unions and macro's 2013-12-08 22:56:34 +01:00
Willem Toorop 3829dca0cc Get rid of typedefs for structs 2013-12-06 15:54:06 +01:00
Willem Toorop 4b3578c88a Fix stdbool replacement bug
introduced in 1ecf9d9ef8
2013-12-06 15:31:19 +01:00
Willem Toorop 1ecf9d9ef8 Get rid of stdbool.h 2013-12-06 14:10:28 +01:00
Willem Toorop ab75b89da2 Remove/add missing prototypes 2013-12-03 16:09:26 +01:00
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