diff options
author | Willow Liquorice <willow@howhill.com> | 2022-09-04 02:47:03 +0100 |
---|---|---|
committer | Willow Liquorice <willow@howhill.com> | 2022-10-03 00:44:30 +0100 |
commit | f878edd42b1774c6f7bbe5a5fce3f3251f38e4f3 (patch) | |
tree | bdc5d16fb546c8a53f7737bf9719bdc122dbefd7 /src/transport/plugin_transport_http_common.c | |
parent | eee291e1aaab89283ec03a00f3fed8a1cb20e083 (diff) | |
download | gnunet-f878edd42b1774c6f7bbe5a5fce3f3251f38e4f3.tar.gz gnunet-f878edd42b1774c6f7bbe5a5fce3f3251f38e4f3.zip |
-DOC: Major doc comment stripping pass through TRANSPORT
Diffstat (limited to 'src/transport/plugin_transport_http_common.c')
-rw-r--r-- | src/transport/plugin_transport_http_common.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/transport/plugin_transport_http_common.c b/src/transport/plugin_transport_http_common.c index 75bf8b74a..40353daeb 100644 --- a/src/transport/plugin_transport_http_common.c +++ b/src/transport/plugin_transport_http_common.c | |||
@@ -407,20 +407,6 @@ http_common_dns_ip_lookup (const char *name, | |||
407 | } | 407 | } |
408 | 408 | ||
409 | 409 | ||
410 | /** | ||
411 | * Convert the transports address to a nice, human-readable | ||
412 | * format. | ||
413 | * | ||
414 | * @param cls closure | ||
415 | * @param type name of the transport that generated the address | ||
416 | * @param addr one of the addresses of the host, NULL for the last address | ||
417 | * the specific address format depends on the transport | ||
418 | * @param addrlen length of the @a addr | ||
419 | * @param numeric should (IP) addresses be displayed in numeric form? | ||
420 | * @param timeout after how long should we give up? | ||
421 | * @param asc function to call on each string | ||
422 | * @param asc_cls closure for @a asc | ||
423 | */ | ||
424 | void | 410 | void |
425 | http_common_plugin_address_pretty_printer (void *cls, const char *type, | 411 | http_common_plugin_address_pretty_printer (void *cls, const char *type, |
426 | const void *addr, | 412 | const void *addr, |
@@ -597,17 +583,6 @@ http_common_plugin_address_to_url (void *cls, | |||
597 | } | 583 | } |
598 | 584 | ||
599 | 585 | ||
600 | /** | ||
601 | * Function called for a quick conversion of the binary address to | ||
602 | * a numeric address. Note that the caller must not free the | ||
603 | * address and that the next call to this function is allowed | ||
604 | * to override the address again. | ||
605 | * | ||
606 | * @param plugin the name of the plugin | ||
607 | * @param addr binary address | ||
608 | * @param addrlen length of the address | ||
609 | * @return string representing the same address | ||
610 | */ | ||
611 | const char * | 586 | const char * |
612 | http_common_plugin_address_to_string (const char *plugin, | 587 | http_common_plugin_address_to_string (const char *plugin, |
613 | const void *addr, | 588 | const void *addr, |
@@ -642,18 +617,6 @@ http_common_plugin_address_to_string (const char *plugin, | |||
642 | } | 617 | } |
643 | 618 | ||
644 | 619 | ||
645 | /** | ||
646 | * Function called to convert a string address to | ||
647 | * a binary address. | ||
648 | * | ||
649 | * @param cls closure ('struct Plugin*') | ||
650 | * @param addr string address | ||
651 | * @param addrlen length of the @a addr | ||
652 | * @param buf location to store the buffer | ||
653 | * If the function returns #GNUNET_SYSERR, its contents are undefined. | ||
654 | * @param added length of created address | ||
655 | * @return #GNUNET_OK on success, #GNUNET_SYSERR on failure | ||
656 | */ | ||
657 | int | 620 | int |
658 | http_common_plugin_string_to_address (void *cls, | 621 | http_common_plugin_string_to_address (void *cls, |
659 | const char *addr, | 622 | const char *addr, |
@@ -721,14 +684,6 @@ http_common_plugin_string_to_address (void *cls, | |||
721 | } | 684 | } |
722 | 685 | ||
723 | 686 | ||
724 | /** | ||
725 | * Create a HTTP address from a socketaddr | ||
726 | * | ||
727 | * @param protocol protocol | ||
728 | * @param addr sockaddr * address | ||
729 | * @param addrlen length of the address | ||
730 | * @return the HttpAddress | ||
731 | */ | ||
732 | struct HttpAddress * | 687 | struct HttpAddress * |
733 | http_common_address_from_socket (const char *protocol, | 688 | http_common_address_from_socket (const char *protocol, |
734 | const struct sockaddr *addr, | 689 | const struct sockaddr *addr, |