zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raúl Gutiérrez Segalés <...@itevenworks.net>
Subject Re: C binding zoo_get(): need to know max data length in advance
Date Fri, 10 Jan 2014 17:02:46 GMT
On 10 January 2014 08:04, Kah-Chan Low <kahchanlow@yahoo.com> wrote:

> int zoo_get(zhandle_t *zh, const char *path, int watch, char *buffer,
>         int* buffer_len, struct Stat *stat)
>
> Developer has to anticipate the max. size of the node data.  Is there any
> way to get around this?
>

In which case would you not know the size?

-rgs

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message