lcb_connect() should honor the syncmode setting

Change-Id: Ie19a2eae6a89088752517c5a99f338aae9b2e350
Reviewed-on: http://review.couchbase.org/20899
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add an example on how to use the syncmode

Change-Id: I264bca696ee17edc8614a268e637d278c22e93fa
Reviewed-on: http://review.couchbase.org/20901
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Allow to disable CXX targets

This is useful for environments where C++ compiler is usable but generates
unwanted warnings and errors in C++ targets which is optional (examples and
tests)

Change-Id: Iadb96cab9fab48337ae253700db50f84cf683a2c
Reviewed-on: http://review.couchbase.org/20932
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
add event example

Change-Id: Ifcb484d0201de8438e7bd68f883d251e0b27a3cd
Reviewed-on: http://review.couchbase.org/20934
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Allow to disable examples

Change-Id: I085a5aa397d8f6f44b9990a8e6790797f63e43f1
Reviewed-on: http://review.couchbase.org/20936
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Move examples to different sub directories

Change-Id: I492a40e6c30b70be46da1102a708cff82a8c26ce
Reviewed-on: http://review.couchbase.org/21035
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
CCBC-103: Fix linked event/timer lists for win32

Change-Id: Iad738c233deed9e129ef74cd03aa899f912587dc
Reviewed-on: http://review.couchbase.org/21078
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Implement libev plugin

Please note that the libev plugin is currently disabled
(its not complete yet), but we've got other changes
going into the same files and I'd like to avoid
rebasing this forever...

Change-Id: Ifac3012bb61bd9cfcf3d9746c4f9b02147a1e937
Reviewed-on: http://review.couchbase.org/17067
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add a new interface version for creating ioops

Change-Id: I909e733cfbc97ef0beb7de224bd5f4278c2f4ce3
Reviewed-on: http://review.couchbase.org/21125
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
libeventdirect example is bound to libevent2

Change-Id: I5b9cd249b6a4396106b72972fbca5e5e119e5aef
Reviewed-on: http://review.couchbase.org/21127
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Use environment variables to pick plugin

Change-Id: I3ed63bac80336e4b3d9bb84781215b37608d2597
Reviewed-on: http://review.couchbase.org/21132
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Remove tests/loopfactory

It is possible to use environment variable to select event loop out of the
box.

Change-Id: I65ff5b70e5ee4c1c7667144163557bd1b0648522
Reviewed-on: http://review.couchbase.org/21135
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>