Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update generated wrappers

  • Loading branch information...
commit 9900a11875b6e4def067a5df16498abe4cf74c14 1 parent d7400f4
@eric eric authored
Showing with 5 additions and 5 deletions.
  1. +3 −3 ext/zkrb_wrapper.c
  2. +2 −2 ext/zkrb_wrapper.h
View
6 ext/zkrb_wrapper.c
@@ -383,19 +383,19 @@ int zkrb_call_zoo_aset_acl(zhandle_t *zh, const char *path, int version, struct
static VALUE zkrb_gvl_zoo_amulti(void *data) {
zkrb_zoo_amulti_args_t *a = (zkrb_zoo_amulti_args_t *)data;
- a->rc = zoo_amulti(a->zh, a->count, a->ops, a->results, a->void_completion_t, a->data);
+ a->rc = zoo_amulti(a->zh, a->count, a->ops, a->results, a->completion, a->data);
return Qnil;
}
// wrapper that calls zoo_amulti via zkrb_gvl_zoo_amulti inside rb_thread_blocking_region
-int zkrb_call_zoo_amulti(zhandle_t *zh, int count, const zoo_op_t *ops, zoo_op_result_t *results, void_completion_t, const void *data) {
+int zkrb_call_zoo_amulti(zhandle_t *zh, int count, const zoo_op_t *ops, zoo_op_result_t *results, void_completion_t completion, const void *data) {
zkrb_zoo_amulti_args_t args = {
.rc = ZKRB_FAIL,
.zh = zh,
.count = count,
.ops = ops,
.results = results,
- .void_completion_t = void_completion_t,
+ .completion = completion,
.data = data
};
View
4 ext/zkrb_wrapper.h
@@ -162,7 +162,7 @@ typedef struct {
int count;
const zoo_op_t *ops;
zoo_op_result_t *results;
- void_completion_t;
+ void_completion_t completion;
const void *data;
int rc;
} zkrb_zoo_amulti_args_t;
@@ -329,7 +329,7 @@ int zkrb_call_zoo_awget_children2(zhandle_t *zh, const char *path, watcher_fn wa
int zkrb_call_zoo_async(zhandle_t *zh, const char *path, string_completion_t completion, const void *data);
int zkrb_call_zoo_aget_acl(zhandle_t *zh, const char *path, acl_completion_t completion, const void *data);
int zkrb_call_zoo_aset_acl(zhandle_t *zh, const char *path, int version, struct ACL_vector *acl, void_completion_t completion, const void *data);
-int zkrb_call_zoo_amulti(zhandle_t *zh, int count, const zoo_op_t *ops, zoo_op_result_t *results, void_completion_t, const void *data);
+int zkrb_call_zoo_amulti(zhandle_t *zh, int count, const zoo_op_t *ops, zoo_op_result_t *results, void_completion_t completion, const void *data);
int zkrb_call_zoo_add_auth(zhandle_t *zh, const char* scheme, const char* cert, int certLen, void_completion_t completion, const void *data);
int zkrb_call_zoo_create(zhandle_t *zh, const char *path, const char *value, int valuelen, const struct ACL_vector *acl, int flags, char *path_buffer, int path_buffer_len);
int zkrb_call_zoo_delete(zhandle_t *zh, const char *path, int version);
Please sign in to comment.
Something went wrong with that request. Please try again.