Skip to content

Instantly share code, notes, and snippets.

@rectalogic
Created April 27, 2012 14:49
Show Gist options
  • Save rectalogic/2509871 to your computer and use it in GitHub Desktop.
Save rectalogic/2509871 to your computer and use it in GitHub Desktop.
int zkrb_call_zoo_acreate(zhandle_t *zh, const char *path, const char *value, int valuelen, const struct ACL_vector *acl, int flags, string_completion_t completion, const void *data) {
zkrb_zoo_acreate_args_t args = {
.rc = rc,
.zh = zh,
.path = path,
.value = value,
.valuelen = valuelen,
.acl = acl,
.flags = flags,
.completion = completion,
.data = data
}
zkrb_thread_blocking_region(zkrb_gvl_zoo_acreate, (void *)&args);
return args.rc;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment