Willem Toorop
2b8f65f389
rm ldns dependency from dict.[ch]
2015-03-02 11:38:46 +01:00
Willem Toorop
ceeab9965a
Print null terminated bindata strings as strings
2015-02-17 21:44:16 +01:00
Willem Toorop
3c5b28ffaf
Fix printing of text type rdata fields
2015-02-17 17:06:36 +01:00
Willem Toorop
cf64c38dc1
Doxygen errors
2014-11-10 15:57:17 +01:00
Willem Toorop
114e459a43
Make things work on FreeBSD again
2014-10-31 14:17:30 +01:00
Willem Toorop
129d614f5c
pretty print getdns_context_get_api_information
2014-10-28 16:36:41 +01:00
Willem Toorop
4a3d7fd8b2
Replace ldns_rbtree with getdns_rbtree
...
As much as possible.
In dnssec ldns_rbtree is inderectly used via the dnssec_zone struct
This change forces use to embed the data in the nodes as getdns_rbtree does not have a data attribute. This is good because lesser allocs and free's and thus slightly faster and less likely to leak memory.
2014-10-23 23:00:30 +02:00
ngoyal
f3d3ac3bac
Fix issue #117
2014-07-28 17:46:40 -04:00
Willem Toorop
f78e3d74ab
pretty print bindata's representing IP addresses
2014-05-22 18:31:30 +02:00
Willem Toorop
26faaa67c1
Fix building docs for blddir != srcdir
2014-05-21 16:21:45 +02:00
Neel Goyal
501bc14de6
Update destroys to return void. Assert failure in context destroy. Update tests
2014-03-11 11:43:41 -04:00
Neel Goyal
c819553c58
Add return code to _destroy methods. Prevent destroy in callbacks for the context firing them
2014-03-07 10:42:37 -05:00
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