zoo_create_op_init

\brief zoo_create_op_init.

This function initializes a zoo_op_t with the arguments for a ZOO_CREATE_OP.

\param op A pointer to the zoo_op_t to be initialized. \param path The name of the node. Expressed as a file name with slashes separating ancestors of the node. \param value The data to be stored in the node. \param valuelen The number of bytes in data. To set the data to be NULL use value as NULL and valuelen as -1. \param acl The initial ACL of the node. The ACL must not be null or empty. \param flags this parameter can be set to 0 for normal create or an OR of the Create Flags \param path_buffer Buffer which will be filled with the path of the new node (this might be different than the supplied path because of the ZOO_SEQUENCE flag). The path string will always be null-terminated. This parameter may be NULL if path_buffer_len = 0. \param path_buffer_len Size of path buffer; if the path of the new node (including space for the null terminator) exceeds the buffer size, the path string will be truncated to fit. The actual path of the new node in the server will not be affected by the truncation. The path string will always be null-terminated.

extern (C)
void
zoo_create_op_init
(,
const char* path
,
const char* value
,,,
int flags
,,)

Meta