-
/*
This file is part of GNUnet.
(C) 2012, 2013 Christian Grothoff (and other contributing authors)
rname);
for (i=0;i<rd_len;i++)
{
+ if ( (GNUNET_GNSRECORD_TYPE_NICK == rd[i].record_type) &&
+ (0 != strcmp (rname,
+ "+")) )
+ continue;
typestring = GNUNET_GNSRECORD_number_to_typename (rd[i].record_type);
s = GNUNET_GNSRECORD_value_to_string (rd[i].record_type,
rd[i].data,
static void
default_ego_cb (void *cls,
- struct GNUNET_IDENTITY_Ego *ego,
- void **ctx,
- const char *name)
+ struct GNUNET_IDENTITY_Ego *ego,
+ void **ctx,
+ const char *name)
{
get_default = NULL;
if (NULL == ego)
}
}
+
static void
id_connect_cb (void *cls,
- struct GNUNET_IDENTITY_Ego *ego,
- void **ctx,
- const char *name)
+ struct GNUNET_IDENTITY_Ego *ego,
+ void **ctx,
+ const char *name)
{
const struct GNUNET_CONFIGURATION_Handle *cfg = cls;
+
if (NULL == ego)
{
- get_default = GNUNET_IDENTITY_get (idh, "namestore",
- &default_ego_cb, (void *) cfg);
+ get_default = GNUNET_IDENTITY_get (idh,
+ "namestore",
+ &default_ego_cb, (void *) cfg);
}
}