Willem Toorop
d65496f787
Anticipate absense of implicit DSO linking
2014-05-23 13:40:56 +02:00
Willem Toorop
943d1e916a
Make example programs find uninstalled .so too
2014-05-21 07:15:55 +02:00
Willem Toorop
76dcab7850
Fix -I and -L flags to look into builddir too
...
And removal of looking into /usr/local/include and /usr/local/lib.
I hope this doesn't break anything...
2014-05-19 15:23:40 +02:00
Glen Wiley
9c5d8aa687
fixed detecting libevent v1 if libevent v2 is not available
2014-03-07 02:50:00 -05:00
Neel Goyal
2b19661e77
Define u_char if including event.h for libevent1
2014-02-25 14:21:44 -05:00
Willem Toorop
d7c5122565
Merge branch 'develop' into release_20140225
2014-02-25 14:26:34 +01: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
bea6fde7bf
relative references to libtool to smooth over binary dist build
2014-02-24 18:59:25 -05:00
Willem Toorop
50a60db918
[API 0.5] Print result with example-reverse
2014-02-24 15:17:40 +01:00
Neel Goyal
2f0bcd665b
Compile examples
2014-02-21 12:47:33 -05:00
Willem Toorop
6e8ace78ff
Match examples with current spec [API 0.402]
2014-02-21 12:55:34 +01:00
Glen Wiley
344893f87f
fixed license and copyright notices
2014-02-20 09:12:19 -05:00
W.C.A. Wijngaards
bbdf91de9f
Use compiler detected by configure (portability test on Minix).
2014-02-14 11:40:23 +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
W.C.A. Wijngaards
eaae7ce5ab
Fix define and conditional include for event_base_new in examples.
2014-02-06 09:47:38 +01:00
W.C.A. Wijngaards
74e140d461
make make example work.
2014-02-04 15:09:08 +01:00
Neel Goyal
07dcd6cc0e
Merge in stock unbound
2014-02-03 17:46:58 -05:00
Neel Goyal
8b64c521a8
Merge develop in. Add local timer
2014-02-03 17:23:31 -05:00
Glen Wiley
f709199d5b
updated unbound compile steps
2014-02-03 17:02:53 -05:00
Glen Wiley
16e58b28a3
cleaned up example, added error code checks
2014-02-03 15:39:09 -05:00
Willem Toorop
121d3949d8
Fix libevent2 detection on FreeBSD
2014-02-03 14:00:45 +01:00
Neel Goyal
13b9e74ff5
Update extensions
2014-01-22 19:55:04 -05:00
Willem Toorop
dd0563c4ae
[API 0.379] rm warnings in example-reverse.c
2014-01-22 10:53:17 +01:00
Willem Toorop
d9e3485f8b
Merge fixes
2014-01-20 16:18:14 +01:00
Melinda Shore
740ad82822
cast argument to getdns_convert_dns_name_to_fqdn() in example-reverse to char * to keep compiler happy
2013-12-31 17:05:52 -08:00
Willem Toorop
51f0299137
Fix example-reverse (and reverse_address)
...
From the example it is clear that network format addresses are expected for getdns_hostname*
2013-12-11 23:41:21 +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
Willem Toorop
3829dca0cc
Get rid of typedefs for structs
2013-12-06 15:54:06 +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
W.C.A. Wijngaards
ad9ffb5200
Remove unused flags (libtool adds -fPIC and more)
2013-12-03 10:46:18 +01:00
W.C.A. Wijngaards
997fbec46f
Link with -levent if detected, fix examples.
2013-12-02 14:20:03 +01:00
W.C.A. Wijngaards
69c6d0694b
fix issue #38 : install, uninstall, libtool, configureoutsidesrcdir,
...
the dist compiles. library version set to 0:0:0.
2013-11-29 15:41:06 +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
0b6d610ea5
Get rid of response_length in synchroneous funcs
2013-11-08 18:39:06 -08: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
Neel Goyal
266cdb0063
Cleanup some memory issues in simple answers
2013-11-04 15:26:52 -05:00
Neel Goyal
31e7bf1a8a
Some guards and make example_all_functions at least run
2013-11-04 14:43:06 -05:00
Neel Goyal
3da70546ca
Fix synchronous example to destroy the extensions dict
2013-11-04 12:57:46 -05:00
Willem Toorop
ffa9a72073
Make example_tree program comply to the API specs
...
It works with the rbtree-dict now (which implements copy correctly).
2013-10-30 00:31:14 +01:00
Willem Toorop
06ad9a53b5
Pass existing CFLAGS and LDFLAGS through
...
Useful when dependencies are installed at custom locations
2013-10-29 20:31:25 +01:00
Willem Toorop
37fe39e4ae
Make this example conform to API specs
...
Corrections should be reported back eventually...
2013-10-29 16:17:40 +01:00
Willem Toorop
fbff480a31
Correct order of calls for display IP address
2013-10-29 16:16:05 +01:00
Neel Goyal
65762811bf
Adding timeout support
2013-10-18 13:55:31 -04:00
Neel Goyal
840939aac8
Fix a bug in list copy for bindata. Fix some memory errors
2013-10-17 20:34:18 -04:00
Neel Goyal
d608d3b670
Initial integration of unbound.
2013-10-15 17:28:23 -04:00