Sha256: e5e9c6d70530235f977435b0025e91c0d77634884756a0935435ed4ee3772afa

Contents?: true

Size: 1.15 KB

Versions: 35

Compression:

Stored size: 1.15 KB

Contents

Examples
========

An example says more than a 1000 words (and its way easier to write an
example than trying to explain something). In this directory you'll
find a varity of examples that will show you different use patterns of
libcoucbase.

libeventdirect
--------------

This example programs shows you how you may integrate libcouchbase
into your own event loop (in this example libevent).

syncmode
--------

This example shows you how you may use the synchronous interface of
libcouchbase.

yajl
----

This is an example that shows you how to work with views and json

pillowfight
-----------

This is an example that implements a small test program to show
you some of the functionalities in libcouchbase.

minimal
-------

This is an minimal single-file example which works both unix-like and windows OS.
It accepts three arguments: "host:port", "bucket" and "password".

Build:

     gcc -lcouchbase -o minimal minimal.c
     cl /DWIN32 /Iinclude lib\libcouchbase.lib minimal.c

Execute:

     valgrind -v --tool=memcheck  --leak-check=full --show-reachable=yes ./minimal
     ./minimal <host:port> <bucket> <passwd>
     mininal.exe <host:port> <bucket> <passwd>

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
mt-libcouchbase-1.4.03 ext/libcouchbase/example/README.markdown
mt-libcouchbase-1.4.02 ext/libcouchbase/example/README.markdown
mt-libcouchbase-1.4.01 ext/libcouchbase/example/README.markdown
mt-libcouchbase-1.4.0 ext/libcouchbase/example/README.markdown
libcouchbase-1.3.2 ext/libcouchbase/example/README.markdown
libcouchbase-1.3.0 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.8 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.7 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.6 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.5 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.4 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.3 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.2 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.1 ext/libcouchbase/example/README.markdown
libcouchbase-1.2.0 ext/libcouchbase/example/README.markdown
libcouchbase-1.1.1 ext/libcouchbase/example/README.markdown
libcouchbase-1.1.0 ext/libcouchbase/example/README.markdown
libcouchbase-1.0.4 ext/libcouchbase/example/README.markdown
libcouchbase-1.0.3 ext/libcouchbase/example/README.markdown
libcouchbase-1.0.2 ext/libcouchbase/example/README.markdown