Hi Denis,

You can use the unit test code for reference, but something like this
should work (not tested).

int buffer_length = 1024;
char buffer[1024];
zoo_get (handle, "/path", 0, buffer, &buffer_length, NULL);

http://svn.apache.org/viewvc/zookeeper/trunk/src/c/tests/TestClient.cc?view=markup
On Mon, Jun 9, 2014 at 8:55 PM, Denis Samoilov <[EMAIL PROTECTED]> wrote:

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB