aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_hello_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_transport_hello_service.h')
-rw-r--r--src/include/gnunet_transport_hello_service.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/include/gnunet_transport_hello_service.h b/src/include/gnunet_transport_hello_service.h
index 512103c54..fecffd527 100644
--- a/src/include/gnunet_transport_hello_service.h
+++ b/src/include/gnunet_transport_hello_service.h
@@ -58,7 +58,8 @@ extern "C" {
58 * classes to filter addresses by which domain they make 58 * classes to filter addresses by which domain they make
59 * sense to be used in. These are used in a bitmask. 59 * sense to be used in. These are used in a bitmask.
60 */ 60 */
61enum GNUNET_TRANSPORT_AddressClass { 61enum GNUNET_TRANSPORT_AddressClass
62{
62 /** 63 /**
63 * No address. 64 * No address.
64 */ 65 */
@@ -138,10 +139,10 @@ struct GNUNET_TRANSPORT_HelloGetHandle;
138 * @return handle to cancel the operation 139 * @return handle to cancel the operation
139 */ 140 */
140struct GNUNET_TRANSPORT_HelloGetHandle * 141struct GNUNET_TRANSPORT_HelloGetHandle *
141GNUNET_TRANSPORT_hello_get(const struct GNUNET_CONFIGURATION_Handle *cfg, 142GNUNET_TRANSPORT_hello_get (const struct GNUNET_CONFIGURATION_Handle *cfg,
142 enum GNUNET_TRANSPORT_AddressClass ac, 143 enum GNUNET_TRANSPORT_AddressClass ac,
143 GNUNET_TRANSPORT_HelloUpdateCallback rec, 144 GNUNET_TRANSPORT_HelloUpdateCallback rec,
144 void *rec_cls); 145 void *rec_cls);
145 146
146 147
147/** 148/**
@@ -150,7 +151,7 @@ GNUNET_TRANSPORT_hello_get(const struct GNUNET_CONFIGURATION_Handle *cfg,
150 * @param ghh handle to cancel 151 * @param ghh handle to cancel
151 */ 152 */
152void 153void
153GNUNET_TRANSPORT_hello_get_cancel(struct GNUNET_TRANSPORT_HelloGetHandle *ghh); 154GNUNET_TRANSPORT_hello_get_cancel (struct GNUNET_TRANSPORT_HelloGetHandle *ghh);
154 155
155 156
156/** 157/**
@@ -180,9 +181,9 @@ typedef void (*GNUNET_TRANSPORT_AddressCallback) (
180 * @return #GNUNET_OK if hello was well-formed, #GNUNET_SYSERR if not 181 * @return #GNUNET_OK if hello was well-formed, #GNUNET_SYSERR if not
181 */ 182 */
182int 183int
183GNUNET_TRANSPORT_hello_parse(const struct GNUNET_MessageHeader *hello, 184GNUNET_TRANSPORT_hello_parse (const struct GNUNET_MessageHeader *hello,
184 GNUNET_TRANSPORT_AddressCallback cb, 185 GNUNET_TRANSPORT_AddressCallback cb,
185 void *cb_cls); 186 void *cb_cls);
186 187
187 188
188#if 0 /* keep Emacsens' auto-indent happy */ 189#if 0 /* keep Emacsens' auto-indent happy */