Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

C API reference for Couchbase 2.0?

2 replies [Last post]
  • Login or register to post comments
Wed, 01/30/2013 - 15:41
Dronz
Offline
Joined: 09/17/2011
Groups: None

I have been looking for the current API reference to program in C for Couchbase Server 2.0, and the closest thing I see in the documentation downloads is the API Reference 1.1 document, which has only a few C references, many missing, and some that seem out of date (i.e. methods starting with memcached_).

Questions:

1) Is the API Reference 1.1 the most current API documentation for Couchbase Server 2.0? If not, where can I find the current API documentation?

2) If there is no up-to-date C documentation for Couchbase Server 2.0 yet, is the thing to do to look at API Reference 1.1 and then compare to the actual function prototypes in the .h files of the API source code to deduce the parameter and return types, etc? If so, where would I find the .h file(s) for the C client API? (I am running Ubuntu.)

3) If I end up writing some of my own C API documentation, would you like me to submit it somewhere? If so, where?

Thanks,

Dronz

Top
  • Login or register to post comments
Thu, 01/31/2013 - 09:49
trond
trond's picture
Offline
Joined: 03/15/2010
Groups: None

As of libcouchbase 2.0.2 we added manual pages for the various operations. If you don't have them available on your system you may look at:

https://github.com/couchbase/libcouchbase/tree/master/man

You'll find the plain text versions in man1 (the command line programs) man3couchbase (the functions in libcouchbase), man4 (file formats), man5 (description of attributes) etc. Please let me know if there is something you're missing

Top
  • Login or register to post comments
Fri, 02/01/2013 - 09:33
Dronz
Offline
Joined: 09/17/2011
Groups: None

Thanks Trond!

I found the files at the link you gave on github, and they look very good! I think I'll print those out and make myself a manual.

How would I pull up the man pages if they are on my computer? I tried "man lcb_store" but it didn't have that.

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker