Commit Graph

55 Commits

Author SHA1 Message Date
Neel Goyal 38904780f2 Add start of api_info. Add package url for autoconf 2014-02-19 13:15:27 -05:00
Willem Toorop 96b9f095a7 Implement getdns_root_trust_anchor 2014-02-19 16:56:00 +01:00
Willem Toorop e9d70dc030 Return INVALID_PARAMETER when upstreams is NULL 2014-02-18 14:38:46 +01:00
Willem Toorop edf1da405f Only set default trust anchor file when it is good 2014-02-12 14:50:00 +01:00
Willem Toorop 340655330b Re-enabled stub resolution
Also re-indented the prepare_for_resolution and ub_setup_stub functions
Sorry for that.
2014-02-12 12:37:05 +01:00
Willem Toorop a3f50a6d86 Test accessibility of trust anchor before adding 2014-02-11 22:53:10 +01:00
Willem Toorop c51e597410 Configure option for trust anchor & dnssec_status 2014-02-11 22:42:21 +01:00
Willem Toorop 563c2a5335 Make time compare portabel + missing includes 2014-02-11 09:57:19 +01:00
Glen Wiley bdff98ffb3 steps toward proper support of namespaces and system files 2014-02-10 19:59:45 -05:00
Willem Toorop 20853601a6 use enum types where possible
following API 0.387 (commit 13571e02f1)
2014-02-09 17:46:12 +01:00
Neel Goyal f6760fc94c Add timeout test. 2014-02-06 22:40:36 -05:00
Neel Goyal 3af362e2fd Fix some major bugs in extensions when clearing timeout. Add libev 2014-02-06 00:24:26 -05:00
Neel Goyal de540dd2e9 Fix issue with timeouts for tight loops 2014-02-05 10:11:53 -05:00
Neel Goyal 4fceebbdcf Fix for issue #51 - do bit is always on 2014-02-04 10:07:47 -05:00
Willem Toorop 374f5b09f4 if !context: GETDNS_RETURN_INVALID_PARAMETER
Bugfix #81
2014-02-04 11:25:21 +01:00
Willem Toorop baedda5ce8 Remove unspecified function 2014-02-04 11:00:57 +01:00
Neel Goyal 86896652a8 Fix tests for non eventloop 2014-02-03 19:57:10 -05:00
Neel Goyal e1c567ecef Add fire_callback for clearing outstanding requests 2014-02-03 17:38:06 -05:00
Neel Goyal 8b64c521a8 Merge develop in. Add local timer 2014-02-03 17:23:31 -05:00
Neel Goyal 6a07664ef9 Fix an issue with timeouts in the async 2014-02-03 16:33:50 -05:00
Glen Wiley 16e58b28a3 cleaned up example, added error code checks 2014-02-03 15:39:09 -05:00
Neel Goyal c658b55d73 Add support for getting next timeout and number of pending events 2014-01-31 15:48:00 -05:00
Neel Goyal e707643a3f Cleanup outstanding requests on eventloop change or context destroy 2014-01-31 15:16:10 -05:00
Neel Goyal 1f847b0d96 Add timeout support 2014-01-31 14:43:02 -05:00
Glen Wiley 118864aeb6 removed references to MIT license, replaced with BSD license 2014-01-28 09:30:01 -05:00
Neel Goyal 67fdf0eb04 timeout stubs 2014-01-27 17:05:25 -05:00
Neel Goyal 13b9e74ff5 Update extensions 2014-01-22 19:55:04 -05:00
Neel Goyal 2bcfedcf78 Initial pass at using unbound stock 2014-01-21 15:31:22 -05: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
Willem Toorop f305ac97da Stubs should be able to lookup AS112 zones 2014-01-09 13:44:31 +01: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
Neel Goyal db23854041 Fix NPE (Issue #42) 2013-12-09 12:55:33 -05: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 70e5193b3f Context has own mem-funcs
It keeps using mem funcs for internal state that were given upon context creation.
Only dicts and lists are created with mem funcs set by getdns_context_set_memory_functions
2013-12-08 23:15:57 +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
W.C.A. Wijngaards 64c057b82d Portable with event1.x, test succeeds on FreeBSD 2013-11-30 13:53:57 +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
Neel Goyal 74fcc3c81b Updating coding style for context.c/h 2013-11-06 13:32:05 -05:00
Neel Goyal f8380ff862 Ran indent with the indent.pro committed 2013-11-05 15:03:44 -05:00
Neel Goyal 4fb66d8ea7 Handle immediate callback. 2013-11-05 13:31:29 -05:00
Willem Toorop 30d1e11a14 Fix some easy to find memory leaks... 2013-11-04 10:34:14 -08:00
Neel Goyal 65762811bf Adding timeout support 2013-10-18 13:55:31 -04:00
Neel Goyal 9c75239aaa Adding cancel and reply formatting 2013-10-17 19:45:25 -04:00
Neel Goyal da8dad5913 Adding A and AAAA handling for get_address 2013-10-16 18:33:12 -04:00