aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_hello_lib.h10
-rw-r--r--src/include/gnunet_transport_communication_service.h2
2 files changed, 10 insertions, 2 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h
index a1b97809e..c2256fd0a 100644
--- a/src/include/gnunet_hello_lib.h
+++ b/src/include/gnunet_hello_lib.h
@@ -520,6 +520,16 @@ GNUNET_HELLO_extract_address (const void *raw,
520 struct GNUNET_TIME_Absolute *expiration); 520 struct GNUNET_TIME_Absolute *expiration);
521 521
522 522
523/**
524 * Given an address as a string, extract the prefix that identifies
525 * the communicator offering transmissions to that address.
526 *
527 * @param address a peer's address
528 * @return NULL if the address is mal-formed, otherwise the prefix
529 */
530char *
531GNUNET_HELLO_address_to_prefix (const char *address);
532
523 533
524#if 0 /* keep Emacsens' auto-indent happy */ 534#if 0 /* keep Emacsens' auto-indent happy */
525{ 535{
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h
index 2997c1860..307f6688a 100644
--- a/src/include/gnunet_transport_communication_service.h
+++ b/src/include/gnunet_transport_communication_service.h
@@ -243,7 +243,6 @@ enum GNUNET_TRANSPORT_ConnectionStatus {
243 * @param mtu maximum message size supported by queue, 0 if 243 * @param mtu maximum message size supported by queue, 0 if
244 * sending is not supported, SIZE_MAX for no MTU 244 * sending is not supported, SIZE_MAX for no MTU
245 * @param nt which network type does the @a address belong to? 245 * @param nt which network type does the @a address belong to?
246 * @param distance how many hops does this queue use (DV-only)?
247 * @param cs what is the connection status of the queue? 246 * @param cs what is the connection status of the queue?
248 * @param mq message queue of the @a peer 247 * @param mq message queue of the @a peer
249 * @return API handle identifying the new MQ 248 * @return API handle identifying the new MQ
@@ -254,7 +253,6 @@ GNUNET_TRANSPORT_communicator_mq_add (struct GNUNET_TRANSPORT_CommunicatorHandle
254 const char *address, 253 const char *address,
255 uint32_t mtu, 254 uint32_t mtu,
256 enum GNUNET_NetworkType nt, 255 enum GNUNET_NetworkType nt,
257 uint32_t distance,
258 enum GNUNET_TRANSPORT_ConnectionStatus cs, 256 enum GNUNET_TRANSPORT_ConnectionStatus cs,
259 struct GNUNET_MQ_Handle *mq); 257 struct GNUNET_MQ_Handle *mq);
260 258