&listen_cb, NULL);
oh = GNUNET_SET_prepare (&local_id,
&app_id,
- &context_msg, 42,
+ &context_msg,
GNUNET_SET_RESULT_FULL,
&result_cb_set1, NULL);
GNUNET_SET_commit (oh, set1);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"initializing set 2\n");
- element.type = 0;
+ element.element_type = 0;
element.data = "hello";
element.size = strlen(element.data);
GNUNET_SET_add_element (set2, &element, NULL, NULL);
{
struct GNUNET_SET_Element element;
- element.type = 0;
+ element.element_type = 0;
element.data = "hello";
element.size = strlen(element.data);
GNUNET_SET_add_element (set1, &element, NULL, NULL);
struct GNUNET_SET_Handle *iter_set;
iter_set = GNUNET_SET_create (config, GNUNET_SET_OPERATION_INTERSECTION);
- element.type = 0;
+ element.element_type = 0;
element.data = "hello";
element.size = strlen(element.data);
GNUNET_SET_add_element (iter_set, &element, NULL, NULL);