diff options
| author | Balazs Meszaros <meszibalu@apache.org> | 2019-03-18 17:12:03 -0700 |
|---|---|---|
| committer | Andor Molnar <andor@apache.org> | 2019-03-18 17:12:03 -0700 |
| commit | 9fba2f6c93a78928df4841a66185f51e242653aa (patch) | |
| tree | b6a294d541ebc547b5dd8930838344a3a86350e8 /zookeeper-client/zookeeper-client-c/include | |
| parent | 19cb6fb8f7989121025f91889462386eb8918c56 (diff) | |
| download | zookeeper-9fba2f6c93a78928df4841a66185f51e242653aa.tar.gz | |
ZOOKEEPER-2168: Add C APIs for new createContainer Methods
I rebased and addressed the comments of https://github.com/apache/zookeeper/pull/33 by Randgalt
Author: randgalt <jordan@jordanzimmerman.com>
Author: Balazs Meszaros <balazs.meszaros@cloudera.com>
Reviewers: andor@apache.org
Closes #838 from meszibalu/my/container and squashes the following commits:
c6c9dc0a6 [Balazs Meszaros] ZOOKEEPER-2168 - added test case for containers
ed4b842e6 [Balazs Meszaros] ZOOKEEPER-2168 - rebase and review comment fixes
f0f144129 [randgalt] ZOOKEEPER-2168 - fixed typo
4cea8d412 [randgalt] ZOOKEEPER-2168 - first pass at C changes for containers
Diffstat (limited to 'zookeeper-client/zookeeper-client-c/include')
| -rw-r--r-- | zookeeper-client/zookeeper-client-c/include/proto.h | 2 | ||||
| -rw-r--r-- | zookeeper-client/zookeeper-client-c/include/zookeeper.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/zookeeper-client/zookeeper-client-c/include/proto.h b/zookeeper-client/zookeeper-client-c/include/proto.h index 7c3fc164a..f9489f018 100644 --- a/zookeeper-client/zookeeper-client-c/include/proto.h +++ b/zookeeper-client/zookeeper-client-c/include/proto.h @@ -40,6 +40,8 @@ extern "C" { #define ZOO_RECONFIG_OP 16 #define ZOO_CHECK_WATCHES 17 #define ZOO_REMOVE_WATCHES 18 +#define ZOO_CREATE_CONTAINER_OP 19 +#define ZOO_DELETE_CONTAINER_OP 20 #define ZOO_CLOSE_OP -11 #define ZOO_SETAUTH_OP 100 #define ZOO_SETWATCHES_OP 101 diff --git a/zookeeper-client/zookeeper-client-c/include/zookeeper.h b/zookeeper-client/zookeeper-client-c/include/zookeeper.h index 2f435d4fc..8df1558d8 100644 --- a/zookeeper-client/zookeeper-client-c/include/zookeeper.h +++ b/zookeeper-client/zookeeper-client-c/include/zookeeper.h @@ -197,6 +197,7 @@ extern ZOOAPI const int ZOOKEEPER_READ; // @{ extern ZOOAPI const int ZOO_EPHEMERAL; extern ZOOAPI const int ZOO_SEQUENCE; +extern ZOOAPI const int ZOO_CONTAINER; // @} /** |
