Remove syncmode

Change-Id: Ice3bbc561a865f98fa9091871968ea58bb31390f
Reviewed-on: http://review.couchbase.org/34611
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Move operations into their own directory

Change-Id: I65985f980c5751b4053b21b5838088ed8be6638d
Reviewed-on: http://review.couchbase.org/34666
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Remove CCBC-282 test

This test is no longer applicable because multi get has been removed for
now

Change-Id: I64a50bf2efc65a5ac880650f8bdc5739f007a6b7
Add RDB readbuffer system

The RDB system allows for pluggable allocators for efficient read
buffers. See the src/rdb/* and tests/rdb/* files for more details

Change-Id: I2cfc5b903cfce81f8d0fbd891527bddd3a76a3c8
Fix some bugs in netbuf:

- start_flush: Returned IOV count off by one
- end_flush_2: Set PDU offset on partial flush
- document pdu callback better

Change-Id: I3e172dbd63c5a68721256857681ebca397ab3bf4
Add read2 API

This adds an alternate read API for completion-style I/O. It uses
explicit buffer passing rather than implicitly relying on the deprecated
'readbuf' and 'bufinfo' structures within the sockdata_t

Change-Id: I3a17136b9a45b1581250a897e424e319bffbeaa6
mcreq: Free queue array on cleanup

Plugs a memory leak when the pipelines array was not freed

Change-Id: Ia0a0dc347ede504eabe8c3079d30e5824b2e04c2
make SOCKET => lcb_socket_t on win32

This breaks binary compat with 2.x. However this is the correct and
proper thing to do. SOCKET tends to be an unsigned long on windows,
while it's an int on unix.

Change-Id: I6f718f53ab1f0faf59cef617c27505d5965ea98c
Don't abort on unrecognized win32 error codes

Change-Id: I3497a33144f79593b1066978dcfd661db1975bae
Define __declspec on mingw as well

Fixes some linker issues

Change-Id: I7cf88b5f8a0647d06fe62646c6f83330577da005
Also set SHARED_LINKER_FLAGS for -static-libgcc

Avoids having to port libgcc to windows for simple runs

Change-Id: Ibc3345097965965ecd531b4fe41703bac9539418
vb-aliases: make more code-completion-friendly

This replaces the VB_* macro aliases for proper macro-style functions,
making them more visible to IDEs

Change-Id: I00370930e8991c93dbcdc953bddab6cbfba95774
cntl: sasl info is const char *

Fixes compilation warnings

Change-Id: Idb7bf6a42d596bb821de73543d9f5f52189311a2
Add lcbio v2

This adds the next-generation LCB IO. This lives inside src/lcbio/* and
the tests consist of tests/ioserver (for the framework) and
tests/socktests (for the actual tests).

This commit does not adapt the core codebase to LCBIO, but rather simply
places it here.

Change-Id: Ib16e92b81874b5190f1f68393e7023547e9070af
UV: Remove bufinfo

Moving to a read2 model

Change-Id: I26ac8934887d836bb51073cc32e66f5e33d7c6ac
iocp: remove 'free_bufinfo'

Moving to a read2 model

Change-Id: I363a425ca30417bb0ddd609d1515905bcaf0e2a5
Adapt to new lcbio_TABLE/lcb_settings refactor

Use helper APIs instead.

Change-Id: Ib277109462cb421c2c00b46ffba5753532bf4025
Rewrite server.c and server_negotiate.c against lcbio2

This is still WIP

Change-Id: Ic554525e952b2b70bd05b4694d5c31042fb5c549
HTTP: Adapt to lcbio_CTX-based buffers

Change-Id: I638e43765f103477a1e4c8f62c73159802bc6400
bc_http: Adapt to lcbio_CTX-buffers

Change-Id: If6c396b3c98abd6ba7ded5305415114239734b6c