aboutsummaryrefslogtreecommitdiff
path: root/src/psycstore/psycstore_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/psycstore/psycstore_api.c')
-rw-r--r--src/psycstore/psycstore_api.c36
1 files changed, 16 insertions, 20 deletions
diff --git a/src/psycstore/psycstore_api.c b/src/psycstore/psycstore_api.c
index 89be19a42..7bbf2e3d8 100644
--- a/src/psycstore/psycstore_api.c
+++ b/src/psycstore/psycstore_api.c
@@ -323,27 +323,23 @@ do_connect (struct GNUNET_PSYCSTORE_Handle *h)
323 LOG (GNUNET_ERROR_TYPE_DEBUG, 323 LOG (GNUNET_ERROR_TYPE_DEBUG,
324 "Connecting to PSYCstore service.\n"); 324 "Connecting to PSYCstore service.\n");
325 325
326 GNUNET_MQ_hd_var_size (result_code,
327 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_CODE,
328 struct OperationResult);
329
330 GNUNET_MQ_hd_fixed_size (result_counters,
331 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_COUNTERS,
332 struct CountersResult);
333
334 GNUNET_MQ_hd_var_size (result_fragment,
335 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_FRAGMENT,
336 struct FragmentResult);
337
338 GNUNET_MQ_hd_var_size (result_state,
339 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_STATE,
340 struct StateResult);
341
342 struct GNUNET_MQ_MessageHandler handlers[] = { 326 struct GNUNET_MQ_MessageHandler handlers[] = {
343 make_result_code_handler (h), 327 GNUNET_MQ_hd_var_size (result_code,
344 make_result_counters_handler (h), 328 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_CODE,
345 make_result_fragment_handler (h), 329 struct OperationResult,
346 make_result_state_handler (h), 330 h),
331 GNUNET_MQ_hd_fixed_size (result_counters,
332 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_COUNTERS,
333 struct CountersResult,
334 h),
335 GNUNET_MQ_hd_var_size (result_fragment,
336 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_FRAGMENT,
337 struct FragmentResult,
338 h),
339 GNUNET_MQ_hd_var_size (result_state,
340 GNUNET_MESSAGE_TYPE_PSYCSTORE_RESULT_STATE,
341 struct StateResult,
342 h),
347 GNUNET_MQ_handler_end () 343 GNUNET_MQ_handler_end ()
348 }; 344 };
349 345