diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-04 14:00:32 +0000 |
commit | 83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch) | |
tree | d0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/core/gnunet-service-core_kx.h | |
parent | 28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff) | |
download | gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.tar.gz gnunet-83b19539f4d322b43683f5838b72e9ec2c8e6073.zip |
curly wars / auto-indentation
Diffstat (limited to 'src/core/gnunet-service-core_kx.h')
-rw-r--r-- | src/core/gnunet-service-core_kx.h | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/src/core/gnunet-service-core_kx.h b/src/core/gnunet-service-core_kx.h index 0e963ef7a..5ecd2c17f 100644 --- a/src/core/gnunet-service-core_kx.h +++ b/src/core/gnunet-service-core_kx.h | |||
@@ -44,8 +44,8 @@ struct GSC_KeyExchangeInfo; | |||
44 | * @param msg the set key message we received | 44 | * @param msg the set key message we received |
45 | */ | 45 | */ |
46 | void | 46 | void |
47 | GSC_KX_handle_set_key (struct GSC_KeyExchangeInfo *kx, | 47 | GSC_KX_handle_set_key (struct GSC_KeyExchangeInfo *kx, |
48 | const struct GNUNET_MessageHeader *msg); | 48 | const struct GNUNET_MessageHeader *msg); |
49 | 49 | ||
50 | 50 | ||
51 | /** | 51 | /** |
@@ -56,8 +56,8 @@ GSC_KX_handle_set_key (struct GSC_KeyExchangeInfo *kx, | |||
56 | * @param msg the encrypted PING message itself | 56 | * @param msg the encrypted PING message itself |
57 | */ | 57 | */ |
58 | void | 58 | void |
59 | GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx, | 59 | GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx, |
60 | const struct GNUNET_MessageHeader *msg); | 60 | const struct GNUNET_MessageHeader *msg); |
61 | 61 | ||
62 | 62 | ||
63 | /** | 63 | /** |
@@ -68,7 +68,7 @@ GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx, | |||
68 | */ | 68 | */ |
69 | void | 69 | void |
70 | GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx, | 70 | GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx, |
71 | const struct GNUNET_MessageHeader *msg); | 71 | const struct GNUNET_MessageHeader *msg); |
72 | 72 | ||
73 | 73 | ||
74 | /** | 74 | /** |
@@ -80,8 +80,7 @@ GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx, | |||
80 | */ | 80 | */ |
81 | void | 81 | void |
82 | GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx, | 82 | GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx, |
83 | const void *payload, | 83 | const void *payload, size_t payload_size); |
84 | size_t payload_size); | ||
85 | 84 | ||
86 | 85 | ||
87 | /** | 86 | /** |
@@ -94,10 +93,10 @@ GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx, | |||
94 | * @param atsi_count number of entries in ats (excluding 0-termination) | 93 | * @param atsi_count number of entries in ats (excluding 0-termination) |
95 | */ | 94 | */ |
96 | void | 95 | void |
97 | GSC_KX_handle_encrypted_message (struct GSC_KeyExchangeInfo *kx, | 96 | GSC_KX_handle_encrypted_message (struct GSC_KeyExchangeInfo *kx, |
98 | const struct GNUNET_MessageHeader *msg, | 97 | const struct GNUNET_MessageHeader *msg, |
99 | const struct GNUNET_ATS_Information *atsi, | 98 | const struct GNUNET_ATS_Information *atsi, |
100 | uint32_t atsi_count); | 99 | uint32_t atsi_count); |
101 | 100 | ||
102 | 101 | ||
103 | /** | 102 | /** |
@@ -124,14 +123,14 @@ GSC_KX_stop (struct GSC_KeyExchangeInfo *kx); | |||
124 | * | 123 | * |
125 | * @return GNUNET_OK on success, GNUNET_SYSERR on failure | 124 | * @return GNUNET_OK on success, GNUNET_SYSERR on failure |
126 | */ | 125 | */ |
127 | int | 126 | int |
128 | GSC_KX_init (void); | 127 | GSC_KX_init (void); |
129 | 128 | ||
130 | 129 | ||
131 | /** | 130 | /** |
132 | * Shutdown KX subsystem. | 131 | * Shutdown KX subsystem. |
133 | */ | 132 | */ |
134 | void | 133 | void |
135 | GSC_KX_done (void); | 134 | GSC_KX_done (void); |
136 | 135 | ||
137 | #endif | 136 | #endif |