aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_constants.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/include/gnunet_constants.h
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/include/gnunet_constants.h')
-rw-r--r--src/include/gnunet_constants.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/gnunet_constants.h b/src/include/gnunet_constants.h
index da408bf55..190cabbb0 100644
--- a/src/include/gnunet_constants.h
+++ b/src/include/gnunet_constants.h
@@ -69,7 +69,7 @@ extern "C"
69#define GNUNET_CONSTANTS_EXEC_WAIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 200) 69#define GNUNET_CONSTANTS_EXEC_WAIT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MILLISECONDS, 200)
70 70
71/** 71/**
72 * After how long do we retry a service connection that was 72 * After how long do we retry a service connection that was
73 * unavailable? Used in cases where an exponential back-off 73 * unavailable? Used in cases where an exponential back-off
74 * seems inappropriate. 74 * seems inappropriate.
75 */ 75 */
@@ -99,13 +99,13 @@ extern "C"
99 99
100/** 100/**
101 * Size of the 'struct EncryptedMessage' of the core (which 101 * Size of the 'struct EncryptedMessage' of the core (which
102 * is the per-message overhead of the core). 102 * is the per-message overhead of the core).
103 */ 103 */
104#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof (GNUNET_HashCode)) 104#define GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE (24 + sizeof (GNUNET_HashCode))
105 105
106/** 106/**
107 * Size of the 'struct OutboundMessage' of the transport 107 * Size of the 'struct OutboundMessage' of the transport
108 * (which, in combination with the 108 * (which, in combination with the
109 * GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE) defines 109 * GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE) defines
110 * the headers that must be pre-pendable to all GNUnet 110 * the headers that must be pre-pendable to all GNUnet
111 * messages. Taking GNUNET_SERVER_MAX_MESSAGE_SIZE 111 * messages. Taking GNUNET_SERVER_MAX_MESSAGE_SIZE
@@ -123,7 +123,7 @@ extern "C"
123 * 123 *
124 * Could theoretically be 64k minus (GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE + 124 * Could theoretically be 64k minus (GNUNET_CONSTANTS_CORE_SIZE_ENCRYPTED_MESSAGE +
125 * GNUNET_CONSTANTS_TRANSPORT_SIZE_OUTBOUND_MESSAGE), but we're going 125 * GNUNET_CONSTANTS_TRANSPORT_SIZE_OUTBOUND_MESSAGE), but we're going
126 * to be more conservative for now. 126 * to be more conservative for now.
127 */ 127 */
128#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024) 128#define GNUNET_CONSTANTS_MAX_ENCRYPTED_MESSAGE_SIZE (63 * 1024)
129 129