I received a variety of content corrections from a customer for the C SDK. I made all possible, however some require changes in the sample code the SDK Team provides. The existing sample code is here:
The customer requests:
- The tutorial example bails from callbacks with exit(), rather than
passing control back to main (after setting a global flag, for example,
or one passed in via the cookie, etc.).
- The tutorial should also show use of libcouchbase_remove() and what to
expect from libcouchbase_mget() afterwards (the latter is in the Python
docs, but not the C docs).
- The tutorial should use libcouchbase_destroy().
- Some mention of whether a disconnect is needed or not would be
Let me know if you are able to demonstrate use of these other methods in the sample code and send the code. I will add the new sample and document.
Also let me know if a C client needs to be destroyed and if so how.