diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-12-06 18:38:43 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-12-06 18:38:43 +0100 |
commit | 5a1d7b406639cb12640c9906ca38c3c08f912a85 (patch) | |
tree | 2f41b3ef348f2525e8560406106647af6823b1a1 /src/include | |
parent | aa6e0a1941f98ed90947aa5e3671438cb381995c (diff) | |
download | gnunet-5a1d7b406639cb12640c9906ca38c3c08f912a85.tar.gz gnunet-5a1d7b406639cb12640c9906ca38c3c08f912a85.zip |
skeleton for 'simple' ATS2 plugin
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_ats_plugin_new.h | 3 | ||||
-rw-r--r-- | src/include/gnunet_mq_lib.h | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/include/gnunet_ats_plugin_new.h b/src/include/gnunet_ats_plugin_new.h index d2960c9cf..2ae37d7ea 100644 --- a/src/include/gnunet_ats_plugin_new.h +++ b/src/include/gnunet_ats_plugin_new.h | |||
@@ -35,8 +35,7 @@ | |||
35 | #ifndef PLUGIN_ATS_H | 35 | #ifndef PLUGIN_ATS_H |
36 | #define PLUGIN_ATS_H | 36 | #define PLUGIN_ATS_H |
37 | 37 | ||
38 | #include "gnunet_mq_lib.h" | 38 | #include "gnunet_util_lib.h" |
39 | #include "gnunet_bandwidth_lib.h" | ||
40 | #include "gnunet_ats_application_service.h" | 39 | #include "gnunet_ats_application_service.h" |
41 | #include "gnunet_ats_transport_service.h" | 40 | #include "gnunet_ats_transport_service.h" |
42 | #include "gnunet_statistics_service.h" | 41 | #include "gnunet_statistics_service.h" |
diff --git a/src/include/gnunet_mq_lib.h b/src/include/gnunet_mq_lib.h index 7704a2fca..574c0932d 100644 --- a/src/include/gnunet_mq_lib.h +++ b/src/include/gnunet_mq_lib.h | |||
@@ -930,6 +930,11 @@ enum GNUNET_MQ_PreferenceKind | |||
930 | */ | 930 | */ |
931 | GNUNET_MQ_PREFERENCE_RELIABILITY = 3 | 931 | GNUNET_MQ_PREFERENCE_RELIABILITY = 3 |
932 | 932 | ||
933 | /** | ||
934 | * Number of preference values allowed. | ||
935 | */ | ||
936 | #define GNUNET_MQ_PREFERENCE_COUNT 4 | ||
937 | |||
933 | }; | 938 | }; |
934 | 939 | ||
935 | 940 | ||