diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2022-07-28 23:59:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-28 23:59:32 +0300 |
commit | ed52c959de2e0232170087a3e743562522c1ebfa (patch) | |
tree | f86c43d6c626bdecb579209b62e6ddb75f9f70f3 /aclk/schema-wrappers | |
parent | 9a6fd6366fafc5585b3fe9d2be2258df4738050d (diff) |
Revert "Query queue only for queries" (#13452)
Revert "Query queue only for queries (#13431)"
This reverts commit 221fd512873613a10b3d95b25a8a4d542b2c4801.
Diffstat (limited to 'aclk/schema-wrappers')
-rw-r--r-- | aclk/schema-wrappers/context.cc | 4 | ||||
-rw-r--r-- | aclk/schema-wrappers/context.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/aclk/schema-wrappers/context.cc b/aclk/schema-wrappers/context.cc index 570cccc8b1..b04c9d20cc 100644 --- a/aclk/schema-wrappers/context.cc +++ b/aclk/schema-wrappers/context.cc @@ -57,7 +57,7 @@ void contexts_snapshot_add_ctx_update(contexts_snapshot_t ctxs_snapshot, struct fill_ctx_updated(ctx, ctx_update); } -char *contexts_snapshot_2bin(size_t *len, contexts_snapshot_t ctxs_snapshot) +char *contexts_snapshot_2bin(contexts_snapshot_t ctxs_snapshot, size_t *len) { ContextsSnapshot *ctxs_snap = (ContextsSnapshot *)ctxs_snapshot; *len = PROTO_COMPAT_MSG_SIZE_PTR(ctxs_snap); @@ -109,7 +109,7 @@ void contexts_updated_add_ctx_update(contexts_updated_t ctxs_updated, struct con fill_ctx_updated(ctx, ctx_update); } -char *contexts_updated_2bin(size_t *len, contexts_updated_t ctxs_updated) +char *contexts_updated_2bin(contexts_updated_t ctxs_updated, size_t *len) { ContextsUpdated *ctxs_update = (ContextsUpdated *)ctxs_updated; *len = PROTO_COMPAT_MSG_SIZE_PTR(ctxs_update); diff --git a/aclk/schema-wrappers/context.h b/aclk/schema-wrappers/context.h index 5596b25b49..cbb7701a81 100644 --- a/aclk/schema-wrappers/context.h +++ b/aclk/schema-wrappers/context.h @@ -36,14 +36,14 @@ contexts_snapshot_t contexts_snapshot_new(const char *claim_id, const char *node void contexts_snapshot_delete(contexts_snapshot_t ctxs_snapshot); void contexts_snapshot_set_version(contexts_snapshot_t ctxs_snapshot, uint64_t version); void contexts_snapshot_add_ctx_update(contexts_snapshot_t ctxs_snapshot, struct context_updated *ctx_update); -char *contexts_snapshot_2bin(size_t *len, contexts_snapshot_t ctxs_snapshot); +char *contexts_snapshot_2bin(contexts_snapshot_t ctxs_snapshot, size_t *len); // ContextS Updated related contexts_updated_t contexts_updated_new(const char *claim_id, const char *node_id, uint64_t version_hash, uint64_t created_at); void contexts_updated_delete(contexts_updated_t ctxs_updated); void contexts_updated_update_version_hash(contexts_updated_t ctxs_updated, uint64_t version_hash); void contexts_updated_add_ctx_update(contexts_updated_t ctxs_updated, struct context_updated *ctx_update); -char *contexts_updated_2bin(size_t *len, contexts_updated_t ctxs_updated); +char *contexts_updated_2bin(contexts_updated_t ctxs_updated, size_t *len); #ifdef __cplusplus |