}
-void
+static void
state_reset_result (void *cls,
int64_t result,
const char *err_msg,
static int
-state_result (void *cls, const char *name, const void *value, uint32_t value_size)
+state_result (void *cls,
+ const char *name,
+ const void *value,
+ uint32_t value_size)
{
struct StateClosure *scls = cls;
const char *nam = scls->name[scls->n];
&& 0 == memcmp (value, val, val_size)
&& 0 == strcmp (name, nam))
{
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, " variable %s matches\n", name);
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ " variable %s matches\n",
+ name);
return GNUNET_YES;
}
else
}
-void
+static void
state_get_prefix_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
state_get_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
counters_result (void *cls, int status, uint64_t max_fragment_id,
uint64_t max_message_id, uint64_t max_group_generation,
uint64_t max_state_message_id)
}
-void
+static void
state_modify_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
state_sync_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-int
+static int
fragment_result (void *cls,
struct GNUNET_MULTICAST_MessageHeader *msg,
enum GNUNET_PSYCSTORE_MessageFlags flags)
}
-void
+static void
message_get_latest_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
message_get_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
message_get_fragment_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
fragment_get_latest_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
fragment_get_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
struct FragmentClosure *fcls = cls;
op = NULL;
- GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "fragment_get:\t%d\n", result);
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "fragment_get:\t%d\n",
+ (int) result);
GNUNET_assert (0 < result && fcls->n == fcls->n_expected);
fcls->n = 0;
}
-void
+static void
fragment_store_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
fragment_store ()
{
struct GNUNET_MULTICAST_MessageHeader *msg;
}
-void
+static void
membership_test_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{
}
-void
+static void
membership_store_result (void *cls, int64_t result,
const char *err_msg, uint16_t err_msg_size)
{