Please take a look at src/c/src/cli.c for some examples on zookeeper c client usage. Also you can see the test cases.
Also http://hadoop.apache.org/zookeeper/docs/r3.1.1/zookeeperProgrammers.html Will give you some exmaple code for c clients. mahadev On 4/16/09 2:30 AM, "Qian Ye" <yeqian....@gmail.com> wrote: > Hi all: > > I'm a fresh man to Zookeeper. Finding that the documents at > zookeeper.hadoop.apache.org are mostly about Java client API. However, I > want some c client code to get start. > > Anyone could help me? >