diff options
Diffstat (limited to 'src/transport/gnunet-service-transport_hello.h')
-rw-r--r-- | src/transport/gnunet-service-transport_hello.h | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/src/transport/gnunet-service-transport_hello.h b/src/transport/gnunet-service-transport_hello.h index ff817814b..153b7447e 100644 --- a/src/transport/gnunet-service-transport_hello.h +++ b/src/transport/gnunet-service-transport_hello.h | |||
@@ -55,13 +55,15 @@ typedef void (*GST_HelloCallback) (void *cls, | |||
55 | * @param cb function to call whenever our HELLO changes | 55 | * @param cb function to call whenever our HELLO changes |
56 | * @param cb_cls closure for cb | 56 | * @param cb_cls closure for cb |
57 | */ | 57 | */ |
58 | void GST_hello_start (GST_HelloCallback cb, void *cb_cls); | 58 | void |
59 | GST_hello_start (GST_HelloCallback cb, void *cb_cls); | ||
59 | 60 | ||
60 | 61 | ||
61 | /** | 62 | /** |
62 | * Shutdown the HELLO module. | 63 | * Shutdown the HELLO module. |
63 | */ | 64 | */ |
64 | void GST_hello_stop (void); | 65 | void |
66 | GST_hello_stop (void); | ||
65 | 67 | ||
66 | 68 | ||
67 | /** | 69 | /** |
@@ -69,7 +71,8 @@ void GST_hello_stop (void); | |||
69 | * | 71 | * |
70 | * @return our HELLO message | 72 | * @return our HELLO message |
71 | */ | 73 | */ |
72 | const struct GNUNET_MessageHeader *GST_hello_get (void); | 74 | const struct GNUNET_MessageHeader * |
75 | GST_hello_get (void); | ||
73 | 76 | ||
74 | 77 | ||
75 | /** | 78 | /** |
@@ -80,9 +83,10 @@ const struct GNUNET_MessageHeader *GST_hello_get (void); | |||
80 | * @param plugin_address address in a plugin-specific format | 83 | * @param plugin_address address in a plugin-specific format |
81 | * @param plugin_address_len number of bytes in plugin_address | 84 | * @param plugin_address_len number of bytes in plugin_address |
82 | */ | 85 | */ |
83 | void GST_hello_modify_addresses (int addremove, const char *plugin_name, | 86 | void |
84 | const void *plugin_address, | 87 | GST_hello_modify_addresses (int addremove, const char *plugin_name, |
85 | size_t plugin_address_len); | 88 | const void *plugin_address, |
89 | size_t plugin_address_len); | ||
86 | 90 | ||
87 | 91 | ||
88 | /** | 92 | /** |
@@ -97,10 +101,11 @@ void GST_hello_modify_addresses (int addremove, const char *plugin_name, | |||
97 | * @return GNUNET_YES if this is one of our addresses, | 101 | * @return GNUNET_YES if this is one of our addresses, |
98 | * GNUNET_NO if not | 102 | * GNUNET_NO if not |
99 | */ | 103 | */ |
100 | int GST_hello_test_address (const char *plugin_name, const void *plugin_address, | 104 | int |
101 | size_t plugin_address_len, | 105 | GST_hello_test_address (const char *plugin_name, const void *plugin_address, |
102 | struct GNUNET_CRYPTO_RsaSignature **sig, | 106 | size_t plugin_address_len, |
103 | struct GNUNET_TIME_Absolute **sig_expiration); | 107 | struct GNUNET_CRYPTO_RsaSignature **sig, |
108 | struct GNUNET_TIME_Absolute **sig_expiration); | ||
104 | 109 | ||
105 | 110 | ||
106 | #endif | 111 | #endif |