aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/conversation_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-10-16 20:21:27 +0000
committerChristian Grothoff <christian@grothoff.org>2013-10-16 20:21:27 +0000
commitaccfd6bd85274da2f19e7230c8da6b273cfb2ece (patch)
tree60966194963795ff07b4da94f4efb6c46d6a23cf /src/conversation/conversation_api.c
parent3d670727232e79b7e49a1df7ba9260db4e5798a0 (diff)
downloadgnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.tar.gz
gnunet-accfd6bd85274da2f19e7230c8da6b273cfb2ece.zip
-another renaming fest for GNUNET_NAMESTORE_ to GNUNET_GNSRECORD_ symbols that were moved
Diffstat (limited to 'src/conversation/conversation_api.c')
-rw-r--r--src/conversation/conversation_api.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c
index 7ee303866..58945d447 100644
--- a/src/conversation/conversation_api.c
+++ b/src/conversation/conversation_api.c
@@ -163,14 +163,14 @@ handle_caller_name (void *cls,
163 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone, 163 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone,
164 const char *label, 164 const char *label,
165 unsigned int rd_count, 165 unsigned int rd_count,
166 const struct GNUNET_NAMESTORE_RecordData *rd) 166 const struct GNUNET_GNSRECORD_Data *rd)
167{ 167{
168 struct GNUNET_CONVERSATION_Phone *phone = cls; 168 struct GNUNET_CONVERSATION_Phone *phone = cls;
169 char *name; 169 char *name;
170 170
171 phone->qe = NULL; 171 phone->qe = NULL;
172 if (NULL == label) 172 if (NULL == label)
173 name = GNUNET_strdup (GNUNET_NAMESTORE_pkey_to_zkey (&phone->caller_id)); 173 name = GNUNET_strdup (GNUNET_GNSRECORD_pkey_to_zkey (&phone->caller_id));
174 else 174 else
175 GNUNET_asprintf (&name, "%.gnu", label); 175 GNUNET_asprintf (&name, "%.gnu", label);
176 phone->event_handler (phone->event_handler_cls, 176 phone->event_handler (phone->event_handler_cls,
@@ -452,13 +452,13 @@ GNUNET_CONVERSATION_phone_create (const struct GNUNET_CONFIGURATION_Handle *cfg,
452 */ 452 */
453void 453void
454GNUNET_CONVERSATION_phone_get_record (struct GNUNET_CONVERSATION_Phone *phone, 454GNUNET_CONVERSATION_phone_get_record (struct GNUNET_CONVERSATION_Phone *phone,
455 struct GNUNET_NAMESTORE_RecordData *rd) 455 struct GNUNET_GNSRECORD_Data *rd)
456{ 456{
457 rd->data = &phone->my_record; 457 rd->data = &phone->my_record;
458 rd->expiration_time = 0; 458 rd->expiration_time = 0;
459 rd->data_size = sizeof (struct GNUNET_CONVERSATION_PhoneRecord); 459 rd->data_size = sizeof (struct GNUNET_CONVERSATION_PhoneRecord);
460 rd->record_type = GNUNET_GNSRECORD_TYPE_PHONE; 460 rd->record_type = GNUNET_GNSRECORD_TYPE_PHONE;
461 rd->flags = GNUNET_NAMESTORE_RF_NONE; 461 rd->flags = GNUNET_GNSRECORD_RF_NONE;
462} 462}
463 463
464 464
@@ -904,7 +904,7 @@ handle_call_audio_message (void *cls,
904static void 904static void
905handle_gns_response (void *cls, 905handle_gns_response (void *cls,
906 uint32_t rd_count, 906 uint32_t rd_count,
907 const struct GNUNET_NAMESTORE_RecordData *rd) 907 const struct GNUNET_GNSRECORD_Data *rd)
908{ 908{
909 struct GNUNET_CONVERSATION_Call *call = cls; 909 struct GNUNET_CONVERSATION_Call *call = cls;
910 uint32_t i; 910 uint32_t i;