diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-10-02 16:55:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-10-02 16:55:10 +0000 |
commit | dc30009133e6c1021ac293469e69ff4043155b15 (patch) | |
tree | 4b772494a8188474b0a91015a0f9df0413461de3 /src/conversation/conversation_api.c | |
parent | bc26a5a2898974dadf5ce818797f700bc3bce567 (diff) | |
download | gnunet-dc30009133e6c1021ac293469e69ff4043155b15.tar.gz gnunet-dc30009133e6c1021ac293469e69ff4043155b15.zip |
-ensure external symbols have proper prefix for conversation service
Diffstat (limited to 'src/conversation/conversation_api.c')
-rw-r--r-- | src/conversation/conversation_api.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c index d32ec4fa6..c3fe8c960 100644 --- a/src/conversation/conversation_api.c +++ b/src/conversation/conversation_api.c | |||
@@ -257,7 +257,7 @@ receive_message_cb (void *cls, const struct GNUNET_MessageHeader *msg) | |||
257 | _("%s has accepted your call.\n"), | 257 | _("%s has accepted your call.\n"), |
258 | GNUNET_i2s_full (&(h->call->peer))); | 258 | GNUNET_i2s_full (&(h->call->peer))); |
259 | 259 | ||
260 | h->notification_handler (NULL, h, NotificationType_CALL_ACCEPTED, | 260 | h->notification_handler (NULL, h, GNUNET_CONVERSATION_NT_CALL_ACCEPTED, |
261 | &(h->call->peer)); | 261 | &(h->call->peer)); |
262 | h->call->type = CALLEE; | 262 | h->call->type = CALLEE; |
263 | 263 | ||
@@ -280,7 +280,7 @@ receive_message_cb (void *cls, const struct GNUNET_MessageHeader *msg) | |||
280 | _("%s has terminated the call.\n"), | 280 | _("%s has terminated the call.\n"), |
281 | GNUNET_i2s_full (&(h->call->peer))); | 281 | GNUNET_i2s_full (&(h->call->peer))); |
282 | 282 | ||
283 | h->notification_handler (NULL, h, NotificationType_CALL_TERMINATED, | 283 | h->notification_handler (NULL, h, GNUNET_CONVERSATION_NT_CALL_TERMINATED, |
284 | &(h->call->peer)); | 284 | &(h->call->peer)); |
285 | GNUNET_free (h->call); | 285 | GNUNET_free (h->call); |
286 | h->call = NULL; | 286 | h->call = NULL; |
@@ -317,20 +317,20 @@ receive_message_cb (void *cls, const struct GNUNET_MessageHeader *msg) | |||
317 | 317 | ||
318 | case GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SERVICE_BLOCKED: | 318 | case GNUNET_MESSAGE_TYPE_CONVERSATION_SC_SERVICE_BLOCKED: |
319 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("The service is blocked.\n")); | 319 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, _("The service is blocked.\n")); |
320 | h->notification_handler (NULL, h, NotificationType_SERVICE_BLOCKED, | 320 | h->notification_handler (NULL, h, GNUNET_CONVERSATION_NT_SERVICE_BLOCKED, |
321 | NULL); | 321 | NULL); |
322 | break; | 322 | break; |
323 | 323 | ||
324 | case GNUNET_MESSAGE_TYPE_CONVERSATION_SC_PEER_NOT_CONNECTED: | 324 | case GNUNET_MESSAGE_TYPE_CONVERSATION_SC_PEER_NOT_CONNECTED: |
325 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 325 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
326 | _("The peer you are calling is not connected.\n")); | 326 | _("The peer you are calling is not connected.\n")); |
327 | h->notification_handler (NULL, h, NotificationType_NO_PEER, NULL); | 327 | h->notification_handler (NULL, h, GNUNET_CONVERSATION_NT_NO_PEER, NULL); |
328 | break; | 328 | break; |
329 | 329 | ||
330 | case GNUNET_MESSAGE_TYPE_CONVERSATION_SC_NO_ANSWER: | 330 | case GNUNET_MESSAGE_TYPE_CONVERSATION_SC_NO_ANSWER: |
331 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 331 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
332 | _("The peer you are calling does not answer.\n")); | 332 | _("The peer you are calling does not answer.\n")); |
333 | h->notification_handler (NULL, h, NotificationType_NO_ANSWER, | 333 | h->notification_handler (NULL, h, GNUNET_CONVERSATION_NT_NO_ANSWER, |
334 | &(h->call->peer)); | 334 | &(h->call->peer)); |
335 | break; | 335 | break; |
336 | 336 | ||
@@ -446,7 +446,7 @@ transmit_session_reject_message (void *cls, size_t size, void *buf) | |||
446 | msg = buf; | 446 | msg = buf; |
447 | msg->header.size = htons (msg_size); | 447 | msg->header.size = htons (msg_size); |
448 | msg->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_CS_SESSION_REJECT); | 448 | msg->header.type = htons (GNUNET_MESSAGE_TYPE_CONVERSATION_CS_SESSION_REJECT); |
449 | msg->reason = htons (REJECT_REASON_NOT_WANTED); | 449 | msg->reason = htons (GNUNET_CONVERSATION_REJECT_REASON_NOT_WANTED); |
450 | 450 | ||
451 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 451 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
452 | _ | 452 | _ |
@@ -596,7 +596,7 @@ gns_call_cb (void *cls, uint32_t rd_count, | |||
596 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, | 596 | GNUNET_log (GNUNET_ERROR_TYPE_INFO, |
597 | "Lookup failed\n"); | 597 | "Lookup failed\n"); |
598 | handle->notification_handler (NULL, handle, | 598 | handle->notification_handler (NULL, handle, |
599 | NotificationType_NO_PEER, | 599 | GNUNET_CONVERSATION_NT_NO_PEER, |
600 | NULL); | 600 | NULL); |
601 | } | 601 | } |
602 | 602 | ||
@@ -726,7 +726,7 @@ GNUNET_CONVERSATION_call (struct GNUNET_CONVERSATION_Handle *h, | |||
726 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, | 726 | GNUNET_log (GNUNET_ERROR_TYPE_WARNING, |
727 | _("`%s' is not a valid public key\n"), | 727 | _("`%s' is not a valid public key\n"), |
728 | callee); | 728 | callee); |
729 | h->notification_handler (NULL, h, NotificationType_NO_PEER, NULL); | 729 | h->notification_handler (NULL, h, GNUNET_CONVERSATION_NT_NO_PEER, NULL); |
730 | return; | 730 | return; |
731 | } | 731 | } |
732 | initiate_call (h, peer); | 732 | initiate_call (h, peer); |