diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-03-17 18:13:55 +0100 |
commit | 17d34d5e094c2f8a90717b07e3a711d6e2c15903 (patch) | |
tree | 777b5323145a5f4d1f044da29a682799008a11d4 /src/include/gnunet_util_lib.h | |
parent | 3391977e3f92a2ebcafc14ea6374aecd580df873 (diff) | |
download | gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.tar.gz gnunet-17d34d5e094c2f8a90717b07e3a711d6e2c15903.zip |
more renamings relating to 'new' service now just being the 'normal' service
Diffstat (limited to 'src/include/gnunet_util_lib.h')
-rw-r--r-- | src/include/gnunet_util_lib.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/gnunet_util_lib.h b/src/include/gnunet_util_lib.h index b42751d2a..a9bd6c33f 100644 --- a/src/include/gnunet_util_lib.h +++ b/src/include/gnunet_util_lib.h | |||
@@ -38,6 +38,21 @@ extern "C" | |||
38 | #endif | 38 | #endif |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | |||
42 | /** | ||
43 | * Largest supported message (to be precise, one byte more | ||
44 | * than the largest possible message, so tests involving | ||
45 | * this value should check for messages being smaller than | ||
46 | * this value). | ||
47 | */ | ||
48 | #define GNUNET_MAX_MESSAGE_SIZE 65536 | ||
49 | |||
50 | /** | ||
51 | * Smallest supported message. | ||
52 | */ | ||
53 | #define GNUNET_MIN_MESSAGE_SIZE sizeof (struct GNUNET_MessageHeader) | ||
54 | |||
55 | |||
41 | #include "gnunet_crypto_lib.h" | 56 | #include "gnunet_crypto_lib.h" |
42 | #include "gnunet_bandwidth_lib.h" | 57 | #include "gnunet_bandwidth_lib.h" |
43 | #include "gnunet_bio_lib.h" | 58 | #include "gnunet_bio_lib.h" |