Add header aliasing vbucket functions to shorter names

Change-Id: I874c0fc4c09535aab5eb67dd51a9bd4fbbd0bd6c
Reviewed-on: http://review.couchbase.org/34597
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>
Define 'transfer' field for protoctx

This allows the protocol context itself to assign itself to the
connection object, with a hook to handle scenarios where the underlying
storage for the connection has changed

Change-Id: I850f574651c302d67586a1e0eedd9c6ed1292e2a
Reviewed-on: http://review.couchbase.org/34592
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>
lcbio: Implement 'senderr'

Change-Id: I836b39bd8c9540ab3bc4eccb2a051ee8b8e87942
Reviewed-on: http://review.couchbase.org/34593
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>
server_negotiate: remove boilerplate user assignments

This commit allows the server_negotiate code to assign *itself* to the
connection object, so that its association is transparent to the
relevant bits of the calling code.

Change-Id: I52b399237caca78f82c04fab940d1978cd3cec4c
Reviewed-on: http://review.couchbase.org/34594
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Brett Lawson <brett19@gmail.com>
list: Add HEAD and TAIL macros

Change-Id: Iafc920ce1fc5f6eae79a59ad85c49fa607fc311f
Reviewed-on: http://review.couchbase.org/34756
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Remove 'badhandle' tests

Change-Id: Ia11236c9224fd67208296c3113098f13a6a52ac9
Reviewed-on: http://review.couchbase.org/34612
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Convert initial structures over to MC

This will disable some other operation code which will be added in
subequent commits. The purpose is to display the overall structure in
the code which will be used for the operations and servers handling.

Change-Id: I00403cf7f6e98afa924edb821b2b6cee33de7512
Reviewed-on: http://review.couchbase.org/34598
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Convert operation handling to mcreq

This removes a lot of the older packet stuff

Change-Id: Icb2cc7731e7c655145a81dfa15baad80f34287a1
Reviewed-on: http://review.couchbase.org/34600
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Remove unused configuration constants

Change-Id: Id1cbaee7a1b35226c9073f2b81a0dae3ff9fd35c
Reviewed-on: http://review.couchbase.org/34613
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Rename bconf_provider to 'newconfig'

Change-Id: I63f5fe045c345936687cab60ee35d05e46072126
Reviewed-on: http://review.couchbase.org/34665
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
Remove syncmode

Change-Id: Ice3bbc561a865f98fa9091871968ea58bb31390f
Move operations into their own directory

Change-Id: I65985f980c5751b4053b21b5838088ed8be6638d
Add RDB stuff

Change-Id: I2cfc5b903cfce81f8d0fbd891527bddd3a76a3c8
netbuf fixups

Change-Id: I3e172dbd63c5a68721256857681ebca397ab3bf4
Add read2 API

Change-Id: I3a17136b9a45b1581250a897e424e319bffbeaa6
Fix some memleaks

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

This breaks binary compat with 2.x

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

Change-Id: I3497a33144f79593b1066978dcfd661db1975bae
Define __declspec on mingw as well

Change-Id: I7cf88b5f8a0647d06fe62646c6f83330577da005