aboutsummaryrefslogtreecommitdiff
path: root/src/core/gnunet-service-core_kx.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
committerChristian Grothoff <christian@grothoff.org>2011-11-04 14:00:32 +0000
commit83b19539f4d322b43683f5838b72e9ec2c8e6073 (patch)
treed0ab9329fcbefe360d9d14e2ace21a6b3396dfe9 /src/core/gnunet-service-core_kx.h
parent28a2eb43281a1f08a67954f07beb9af3a9bc9a35 (diff)
downloadgnunet-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.h25
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 */
46void 46void
47GSC_KX_handle_set_key (struct GSC_KeyExchangeInfo *kx, 47GSC_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 */
58void 58void
59GSC_KX_handle_ping (struct GSC_KeyExchangeInfo *kx, 59GSC_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 */
69void 69void
70GSC_KX_handle_pong (struct GSC_KeyExchangeInfo *kx, 70GSC_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 */
81void 81void
82GSC_KX_encrypt_and_transmit (struct GSC_KeyExchangeInfo *kx, 82GSC_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 */
96void 95void
97GSC_KX_handle_encrypted_message (struct GSC_KeyExchangeInfo *kx, 96GSC_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 */
127int 126int
128GSC_KX_init (void); 127GSC_KX_init (void);
129 128
130 129
131/** 130/**
132 * Shutdown KX subsystem. 131 * Shutdown KX subsystem.
133 */ 132 */
134void 133void
135GSC_KX_done (void); 134GSC_KX_done (void);
136 135
137#endif 136#endif