diff options
author | Christian Grothoff <christian@grothoff.org> | 2015-01-18 12:24:15 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2015-01-18 12:24:15 +0000 |
commit | 0faae7b9f8d646f42a3a404bea9e86313cb3ec31 (patch) | |
tree | b5cbf7ee49e4fe00d7cddac3a0012cacf0efa384 | |
parent | 58e7d98695853ef182f7f7a4c70fefc834aed8ae (diff) | |
download | gnunet-0faae7b9f8d646f42a3a404bea9e86313cb3ec31.tar.gz gnunet-0faae7b9f8d646f42a3a404bea9e86313cb3ec31.zip |
-doxygen, link against libgnunethello
-rw-r--r-- | src/ats/Makefile.am | 11 | ||||
-rw-r--r-- | src/ats/ats.h | 8 |
2 files changed, 12 insertions, 7 deletions
diff --git a/src/ats/Makefile.am b/src/ats/Makefile.am index 2ed2f4694..ea631709c 100644 --- a/src/ats/Makefile.am +++ b/src/ats/Makefile.am | |||
@@ -54,6 +54,7 @@ libgnunetats_la_SOURCES = \ | |||
54 | ats_api_scheduling.c \ | 54 | ats_api_scheduling.c \ |
55 | ats_api_performance.c | 55 | ats_api_performance.c |
56 | libgnunetats_la_LIBADD = \ | 56 | libgnunetats_la_LIBADD = \ |
57 | $(top_builddir)/src/hello/libgnunethello.la \ | ||
57 | $(top_builddir)/src/util/libgnunetutil.la \ | 58 | $(top_builddir)/src/util/libgnunetutil.la \ |
58 | $(LTLIBINTL) | 59 | $(LTLIBINTL) |
59 | libgnunetats_la_LDFLAGS = \ | 60 | libgnunetats_la_LDFLAGS = \ |
@@ -251,7 +252,7 @@ test_ats_api_performance_list_all_addresses_LDADD = \ | |||
251 | $(top_builddir)/src/hello/libgnunethello.la \ | 252 | $(top_builddir)/src/hello/libgnunethello.la \ |
252 | libgnunetats.la \ | 253 | libgnunetats.la \ |
253 | $(top_builddir)/src/statistics/libgnunetstatistics.la | 254 | $(top_builddir)/src/statistics/libgnunetstatistics.la |
254 | 255 | ||
255 | test_ats_api_delayed_service_performance_list_all_addresses_SOURCES = \ | 256 | test_ats_api_delayed_service_performance_list_all_addresses_SOURCES = \ |
256 | test_ats_api_delayed_service_performance_list_all_addresses.c | 257 | test_ats_api_delayed_service_performance_list_all_addresses.c |
257 | test_ats_api_delayed_service_performance_list_all_addresses_LDADD = \ | 258 | test_ats_api_delayed_service_performance_list_all_addresses_LDADD = \ |
@@ -259,7 +260,7 @@ test_ats_api_delayed_service_performance_list_all_addresses_LDADD = \ | |||
259 | $(top_builddir)/src/testing/libgnunettesting.la \ | 260 | $(top_builddir)/src/testing/libgnunettesting.la \ |
260 | $(top_builddir)/src/hello/libgnunethello.la \ | 261 | $(top_builddir)/src/hello/libgnunethello.la \ |
261 | libgnunetats.la \ | 262 | libgnunetats.la \ |
262 | $(top_builddir)/src/statistics/libgnunetstatistics.la | 263 | $(top_builddir)/src/statistics/libgnunetstatistics.la |
263 | 264 | ||
264 | test_ats_api_performance_list_peer_addresses_SOURCES = \ | 265 | test_ats_api_performance_list_peer_addresses_SOURCES = \ |
265 | test_ats_api_performance_list_peer_addresses.c | 266 | test_ats_api_performance_list_peer_addresses.c |
@@ -360,7 +361,7 @@ test_ats_solver_add_address_and_request_delayed_proportional_LDADD = \ | |||
360 | $(top_builddir)/src/hello/libgnunethello.la \ | 361 | $(top_builddir)/src/hello/libgnunethello.la \ |
361 | libgnunetats.la \ | 362 | libgnunetats.la \ |
362 | $(top_builddir)/src/statistics/libgnunetstatistics.la | 363 | $(top_builddir)/src/statistics/libgnunetstatistics.la |
363 | 364 | ||
364 | test_ats_solver_add_address_and_request_delayed_ril_SOURCES = \ | 365 | test_ats_solver_add_address_and_request_delayed_ril_SOURCES = \ |
365 | test_ats_solver_add_address_and_request.c \ | 366 | test_ats_solver_add_address_and_request.c \ |
366 | test_ats_api_common.c test_ats_api_common.h | 367 | test_ats_api_common.c test_ats_api_common.h |
@@ -369,7 +370,7 @@ test_ats_solver_add_address_and_request_delayed_ril_LDADD = \ | |||
369 | $(top_builddir)/src/testing/libgnunettesting.la \ | 370 | $(top_builddir)/src/testing/libgnunettesting.la \ |
370 | $(top_builddir)/src/hello/libgnunethello.la \ | 371 | $(top_builddir)/src/hello/libgnunethello.la \ |
371 | libgnunetats.la \ | 372 | libgnunetats.la \ |
372 | $(top_builddir)/src/statistics/libgnunetstatistics.la | 373 | $(top_builddir)/src/statistics/libgnunetstatistics.la |
373 | 374 | ||
374 | if HAVE_LIBGLPK | 375 | if HAVE_LIBGLPK |
375 | test_ats_solver_add_address_and_request_mlp_SOURCES = \ | 376 | test_ats_solver_add_address_and_request_mlp_SOURCES = \ |
@@ -391,7 +392,7 @@ test_ats_solver_add_address_and_request_delayed_mlp_LDADD = \ | |||
391 | $(top_builddir)/src/testing/libgnunettesting.la \ | 392 | $(top_builddir)/src/testing/libgnunettesting.la \ |
392 | $(top_builddir)/src/hello/libgnunethello.la \ | 393 | $(top_builddir)/src/hello/libgnunethello.la \ |
393 | libgnunetats.la \ | 394 | libgnunetats.la \ |
394 | $(top_builddir)/src/statistics/libgnunetstatistics.la | 395 | $(top_builddir)/src/statistics/libgnunetstatistics.la |
395 | 396 | ||
396 | test_ats_solver_add_address_and_request_ril_SOURCES = \ | 397 | test_ats_solver_add_address_and_request_ril_SOURCES = \ |
397 | test_ats_solver_add_address_and_request.c \ | 398 | test_ats_solver_add_address_and_request.c \ |
diff --git a/src/ats/ats.h b/src/ats/ats.h index a758c3630..61c3bd148 100644 --- a/src/ats/ats.h +++ b/src/ats/ats.h | |||
@@ -28,7 +28,10 @@ | |||
28 | 28 | ||
29 | #include "gnunet_util_lib.h" | 29 | #include "gnunet_util_lib.h" |
30 | 30 | ||
31 | 31 | /** | |
32 | * Flag used to indicate which type of client is connecting | ||
33 | * to the ATS service. | ||
34 | */ | ||
32 | enum StartFlag | 35 | enum StartFlag |
33 | { | 36 | { |
34 | 37 | ||
@@ -39,6 +42,7 @@ enum StartFlag | |||
39 | START_FLAG_PERFORMANCE_NO_PIC = 2 | 42 | START_FLAG_PERFORMANCE_NO_PIC = 2 |
40 | }; | 43 | }; |
41 | 44 | ||
45 | |||
42 | GNUNET_NETWORK_STRUCT_BEGIN | 46 | GNUNET_NETWORK_STRUCT_BEGIN |
43 | 47 | ||
44 | struct ClientStartMessage | 48 | struct ClientStartMessage |
@@ -46,7 +50,7 @@ struct ClientStartMessage | |||
46 | struct GNUNET_MessageHeader header; | 50 | struct GNUNET_MessageHeader header; |
47 | 51 | ||
48 | /** | 52 | /** |
49 | * NBO value of an 'enum StartFlag'. | 53 | * NBO value of an `enum StartFlag`. |
50 | */ | 54 | */ |
51 | uint32_t start_flag GNUNET_PACKED; | 55 | uint32_t start_flag GNUNET_PACKED; |
52 | }; | 56 | }; |