Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> zoo_get - how to get full item?


Copy link to this message
-
Re: zoo_get - how to get full item?
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: