diff options
author | Willow Liquorice <willow@howhill.com> | 2022-08-26 21:01:04 +0100 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2022-08-30 09:42:04 +0200 |
commit | 8d9bc925ed9f3692b451ad90ae31810e419aaee3 (patch) | |
tree | 9e6553bcb410571ba868969c5f3264ab3636db23 /src/gns | |
parent | 33b4ce87d0ff6c971a0088906c4c950915510d82 (diff) | |
download | gnunet-8d9bc925ed9f3692b451ad90ae31810e419aaee3.tar.gz gnunet-8d9bc925ed9f3692b451ad90ae31810e419aaee3.zip |
-First pass through GNS
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-gns-proxy.c | 5 | ||||
-rw-r--r-- | src/gns/gnunet-service-gns_interceptor.c | 6 | ||||
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 21 |
3 files changed, 1 insertions, 31 deletions
diff --git a/src/gns/gnunet-gns-proxy.c b/src/gns/gnunet-gns-proxy.c index ec9fb12ae..796502043 100644 --- a/src/gns/gnunet-gns-proxy.c +++ b/src/gns/gnunet-gns-proxy.c | |||
@@ -2565,11 +2565,6 @@ schedule_httpd (struct MhdHttpList *hd) | |||
2565 | } | 2565 | } |
2566 | 2566 | ||
2567 | 2567 | ||
2568 | /** | ||
2569 | * Task run whenever HTTP server operations are pending. | ||
2570 | * | ||
2571 | * @param cls the `struct MhdHttpList` of the daemon that is being run | ||
2572 | */ | ||
2573 | static void | 2568 | static void |
2574 | do_httpd (void *cls) | 2569 | do_httpd (void *cls) |
2575 | { | 2570 | { |
diff --git a/src/gns/gnunet-service-gns_interceptor.c b/src/gns/gnunet-service-gns_interceptor.c index 255f85598..86c059c5f 100644 --- a/src/gns/gnunet-service-gns_interceptor.c +++ b/src/gns/gnunet-service-gns_interceptor.c | |||
@@ -365,12 +365,6 @@ handle_dns_request (void *cls, | |||
365 | } | 365 | } |
366 | 366 | ||
367 | 367 | ||
368 | /** | ||
369 | * Initialized the interceptor | ||
370 | * | ||
371 | * @param c the configuration | ||
372 | * @return #GNUNET_OK on success | ||
373 | */ | ||
374 | int | 368 | int |
375 | GNS_interceptor_init (const struct GNUNET_CONFIGURATION_Handle *c) | 369 | GNS_interceptor_init (const struct GNUNET_CONFIGURATION_Handle *c) |
376 | { | 370 | { |
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 0d844bc2e..45d971c85 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -849,7 +849,6 @@ handle_dns_result (void *cls, | |||
849 | * Task scheduled to continue with the resolution process. | 849 | * Task scheduled to continue with the resolution process. |
850 | * | 850 | * |
851 | * @param cls the 'struct GNS_ResolverHandle' of the resolution | 851 | * @param cls the 'struct GNS_ResolverHandle' of the resolution |
852 | * @param tc task context | ||
853 | */ | 852 | */ |
854 | static void | 853 | static void |
855 | recursive_resolution (void *cls); | 854 | recursive_resolution (void *cls); |
@@ -1379,7 +1378,7 @@ handle_gns_cname_result (struct GNS_ResolverHandle *rh, | |||
1379 | 1378 | ||
1380 | 1379 | ||
1381 | /** | 1380 | /** |
1382 | * Process a records that were decrypted from a block. | 1381 | * Process records that were decrypted from a block. |
1383 | * | 1382 | * |
1384 | * @param cls closure with the 'struct GNS_ResolverHandle' | 1383 | * @param cls closure with the 'struct GNS_ResolverHandle' |
1385 | * @param rd_count number of entries in @a rd array | 1384 | * @param rd_count number of entries in @a rd array |
@@ -1894,13 +1893,6 @@ recursive_gns2dns_resolution (struct GNS_ResolverHandle *rh, | |||
1894 | } | 1893 | } |
1895 | 1894 | ||
1896 | 1895 | ||
1897 | /** | ||
1898 | * Process a records that were decrypted from a block. | ||
1899 | * | ||
1900 | * @param cls closure with the `struct GNS_ResolverHandle` | ||
1901 | * @param rd_count number of entries in @a rd array | ||
1902 | * @param rd array of records with data to store | ||
1903 | */ | ||
1904 | static void | 1896 | static void |
1905 | handle_gns_resolution_result (void *cls, | 1897 | handle_gns_resolution_result (void *cls, |
1906 | unsigned int rd_count, | 1898 | unsigned int rd_count, |
@@ -2698,11 +2690,6 @@ recursive_gns_resolution_revocation (struct GNS_ResolverHandle *rh) | |||
2698 | } | 2690 | } |
2699 | 2691 | ||
2700 | 2692 | ||
2701 | /** | ||
2702 | * Task scheduled to continue with the resolution process. | ||
2703 | * | ||
2704 | * @param cls the `struct GNS_ResolverHandle` of the resolution | ||
2705 | */ | ||
2706 | static void | 2693 | static void |
2707 | recursive_resolution (void *cls) | 2694 | recursive_resolution (void *cls) |
2708 | { | 2695 | { |
@@ -2724,12 +2711,6 @@ recursive_resolution (void *cls) | |||
2724 | } | 2711 | } |
2725 | 2712 | ||
2726 | 2713 | ||
2727 | /** | ||
2728 | * Begin the resolution process from 'name', starting with | ||
2729 | * the identification of the zone specified by 'name'. | ||
2730 | * | ||
2731 | * @param cls the `struct GNS_ResolverHandle` | ||
2732 | */ | ||
2733 | static void | 2714 | static void |
2734 | start_resolver_lookup (void *cls) | 2715 | start_resolver_lookup (void *cls) |
2735 | { | 2716 | { |