Commit Graph

68 Commits

Author SHA1 Message Date
Willem Toorop b9e8455e27 Internal symbols always prefixed with _getdns 2015-08-19 16:30:15 +02:00
Willem Toorop fcd595298a Rename all priv_getdns internal symbols to _getdns 2015-08-19 16:22:38 +02:00
Willem Toorop 7971152742 Make all private functions static 2015-08-19 16:15:26 +02:00
Willem Toorop 450aabefcc Make util symbols private (i.e. prefix _getdns) 2015-08-19 16:07:01 +02:00
Willem Toorop c7d40e2cbc Strings in bindata's without '\0' byte 2015-07-13 15:41:40 +02:00
Willem Toorop 4987a27264 Pretty print TLDs 2015-07-10 00:04:14 +02:00
Willem Toorop d4849dc0ba Fix read of uninitialized memory
Not a dangerous one though, but still...
2015-07-08 15:36:39 +02:00
Sara Dickinson 8dd8d90e74 Commit addition of transport list to the API.
- set and get functions are added.
- Existing transport functions retained for backwards compatibility.
- Basic combinations work as before, but underlying functional changes and cleanup are not complete yet...
- Context level options for timeouts and max_transactions_per_tcp_connection coming soon...
2015-06-17 17:18:09 +01:00
Willem Toorop e6462aa0e4 JSON output 2015-03-20 19:55:17 +01:00
Willem Toorop a5e8f22246 snprintf style fixed buffers 2015-03-20 18:19:06 +01:00
Willem Toorop 2ad1470b4e char *getdns_pretty_print_list(getdns_list *list)
Handy for debugging purposes
2015-03-15 21:23:44 +01:00
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