aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_hello.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/transport/gnunet-service-transport_hello.h
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
downloadgnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz
gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/transport/gnunet-service-transport_hello.h')
-rw-r--r--src/transport/gnunet-service-transport_hello.h25
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 */
58void GST_hello_start (GST_HelloCallback cb, void *cb_cls); 58void
59GST_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 */
64void GST_hello_stop (void); 65void
66GST_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 */
72const struct GNUNET_MessageHeader *GST_hello_get (void); 74const struct GNUNET_MessageHeader *
75GST_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 */
83void GST_hello_modify_addresses (int addremove, const char *plugin_name, 86void
84 const void *plugin_address, 87GST_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 */
100int GST_hello_test_address (const char *plugin_name, const void *plugin_address, 104int
101 size_t plugin_address_len, 105GST_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