diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-09-26 21:24:03 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-09-26 21:24:03 +0000 |
commit | 7b00dd51218edbd9182caa664cfce185edc2cc45 (patch) | |
tree | 2cea8a9d7085aa6e3d16256f18f7c77f3320bb75 /src/dht/gnunet-service-dht.c | |
parent | 60ff113fe4e7bb71d5696063b9a9b81eba60a108 (diff) | |
download | gnunet-7b00dd51218edbd9182caa664cfce185edc2cc45.tar.gz gnunet-7b00dd51218edbd9182caa664cfce185edc2cc45.zip |
porting xdht to new service API, major code de-duplication effort
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index a2ba2e8b0..f2b922dc4 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -39,27 +39,6 @@ | |||
39 | #include "gnunet-service-dht_nse.h" | 39 | #include "gnunet-service-dht_nse.h" |
40 | #include "gnunet-service-dht_routing.h" | 40 | #include "gnunet-service-dht_routing.h" |
41 | 41 | ||
42 | |||
43 | /** | ||
44 | * Handle for the statistics service. | ||
45 | */ | ||
46 | struct GNUNET_STATISTICS_Handle *GDS_stats; | ||
47 | |||
48 | /** | ||
49 | * Handle for the service. | ||
50 | */ | ||
51 | struct GNUNET_SERVICE_Handle *GDS_service; | ||
52 | |||
53 | /** | ||
54 | * Our handle to the BLOCK library. | ||
55 | */ | ||
56 | struct GNUNET_BLOCK_Context *GDS_block_context; | ||
57 | |||
58 | /** | ||
59 | * The configuration the DHT service is running with | ||
60 | */ | ||
61 | const struct GNUNET_CONFIGURATION_Handle *GDS_cfg; | ||
62 | |||
63 | /** | 42 | /** |
64 | * Our HELLO | 43 | * Our HELLO |
65 | */ | 44 | */ |
@@ -180,7 +159,7 @@ run (void *cls, | |||
180 | 159 | ||
181 | 160 | ||
182 | /* Finally, define the main method */ | 161 | /* Finally, define the main method */ |
183 | GDS_DHT_SERVICE_INIT(&run); | 162 | GDS_DHT_SERVICE_INIT("dht", &run); |
184 | 163 | ||
185 | 164 | ||
186 | 165 | ||