Fix typo : events instead of evets
fix a few trivial documentation typos
Add a new callback to get called on evbuffer_file_segment free
Clean up unit test for evbuffer_file_segment_add_cleanup_cb a little
Fix event_dlist definition when sys/queue not included

This header adds TAILQ_HEAD and TAILQ_ENTRY if sys/queue is not included.
There is a similar macro that adds LIST_ENTRY but not LIST_HEAD, even though
LIST_HEAD is used later.

This change pulls in the correct definition (swiped from sys/queue) for
LIST_HEAD and cleans up the one spot where it is used.  The change can be
tested by adding

	#undef LIST_HEAD
	#undef LIST_ENTRY

right before the #ifndef checks and removing

	#define EVENT_DEFINED_LISTENTRY_
	#define EVENT_DEFINED_LISTHEAD_

so that the macros persist later.
preserve errno in evhttp_connection_fail_ for inspection by the callback
Use the same CFLAGS for openssl when building unit tests as with libevent
Fix renegotiation test to work around openssl 1.0.1 bug

There's a bug in openssl 1.0.1 where TLS1.1 and TLS1.2 can't
renegotiate with themselves.  When testing renegotiation with OpenSSL
>=1.0.1 and <1.0.1d, disable those protocols.
Warn when openssl version in unit test mismatches compiled version.
Merge remote-tracking branch 'origin/patches-2.0'
Free dangling event_once objects on event_base_free()

This patch makes us keep event_once objects in a doubly linked list
so we can free any once that haven't triggered when we call
event_base_free().
Merge branch '21_event_cleanup_v3'
Add a unit test in which an event is created with event_base_once() but never fires
Make rpcgen_wrapper.sh work on systems without a "python2" binary
Merge remote-tracking branch 'origin/patches-2.0'

Conflicts:
	test/rpcgen_wrapper.sh
Merge pull request #27 from pallas/master

Fix event_dlist definition when sys/queue not included
remove stray 'x' so print_err will compile when uncommented
Merge remote-tracking branch 'origin/patches-2.0'
Use correct openssl libs and includes in pkgconfig file

Previously we were saying -lssl -lcrypto unconditionally when
we should have been saying OPENSSL_LIBS.

Based on a patch from Patrick Pelletier
Merge remote-tracking branch 'ppelleti/tiny-doc-typos'