zoo_set_acl

\brief sets the acl associated with a node synchronously.

\param zh the zookeeper handle obtained by a call to \ref zookeeper_init \param path the name of the node. Expressed as a file name with slashes separating ancestors of the node. \param version the expected version of the path. \param acl the acl to be set on the path. \return the return code for the function call. ZOK operation completed successfully ZNONODE the node does not exist. ZNOAUTH the client does not have permission. ZINVALIDACL invalid ACL specified ZBADVERSION expected version does not match actual version. ZBADARGUMENTS - invalid input parameters ZINVALIDSTATE - zhandle state is either ZOO_SESSION_EXPIRED_STATE or ZOO_AUTH_FAILED_STATE ZMARSHALLINGERROR - failed to marshall a request; possibly, out of memory

extern (C)
int
zoo_set_acl
(,
const char* path
,,)

Meta