diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-15 21:46:35 +0000 |
commit | 502af2167f7c218366666ca4944bd7cc54b5b19a (patch) | |
tree | a91fec5cc9769d260640bd91c6633cb9cf395524 /src/transport/gnunet-service-transport_hello.h | |
parent | 03af5a603b7cc53432249d5854cd412aa90dde0d (diff) | |
download | gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip |
indentation
Diffstat (limited to 'src/transport/gnunet-service-transport_hello.h')
-rw-r--r-- | src/transport/gnunet-service-transport_hello.h | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/src/transport/gnunet-service-transport_hello.h b/src/transport/gnunet-service-transport_hello.h index 7b86d62d0..8aac2838a 100644 --- a/src/transport/gnunet-service-transport_hello.h +++ b/src/transport/gnunet-service-transport_hello.h | |||
@@ -45,8 +45,8 @@ | |||
45 | * @param cls closure | 45 | * @param cls closure |
46 | * @param hello updated HELLO | 46 | * @param hello updated HELLO |
47 | */ | 47 | */ |
48 | typedef void (*GST_HelloCallback)(void *cls, | 48 | typedef void (*GST_HelloCallback) (void *cls, |
49 | const struct GNUNET_MessageHeader *hello); | 49 | const struct GNUNET_MessageHeader * hello); |
50 | 50 | ||
51 | 51 | ||
52 | /** | 52 | /** |
@@ -55,16 +55,13 @@ 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 | 58 | void GST_hello_start (GST_HelloCallback cb, void *cb_cls); |
59 | GST_hello_start (GST_HelloCallback cb, | ||
60 | void *cb_cls); | ||
61 | 59 | ||
62 | 60 | ||
63 | /** | 61 | /** |
64 | * Shutdown the HELLO module. | 62 | * Shutdown the HELLO module. |
65 | */ | 63 | */ |
66 | void | 64 | void GST_hello_stop (void); |
67 | GST_hello_stop (void); | ||
68 | 65 | ||
69 | 66 | ||
70 | /** | 67 | /** |
@@ -72,8 +69,7 @@ GST_hello_stop (void); | |||
72 | * | 69 | * |
73 | * @return our HELLO message | 70 | * @return our HELLO message |
74 | */ | 71 | */ |
75 | const struct GNUNET_MessageHeader * | 72 | const struct GNUNET_MessageHeader *GST_hello_get (void); |
76 | GST_hello_get (void); | ||
77 | 73 | ||
78 | 74 | ||
79 | /** | 75 | /** |
@@ -86,9 +82,9 @@ GST_hello_get (void); | |||
86 | */ | 82 | */ |
87 | void | 83 | void |
88 | GST_hello_modify_addresses (int addremove, | 84 | GST_hello_modify_addresses (int addremove, |
89 | const char *plugin_name, | 85 | const char *plugin_name, |
90 | const void *plugin_address, | 86 | const void *plugin_address, |
91 | size_t plugin_address_len); | 87 | size_t plugin_address_len); |
92 | 88 | ||
93 | 89 | ||
94 | /** | 90 | /** |
@@ -105,10 +101,10 @@ GST_hello_modify_addresses (int addremove, | |||
105 | */ | 101 | */ |
106 | int | 102 | int |
107 | GST_hello_test_address (const char *plugin_name, | 103 | GST_hello_test_address (const char *plugin_name, |
108 | const void *plugin_address, | 104 | const void *plugin_address, |
109 | size_t plugin_address_len, | 105 | size_t plugin_address_len, |
110 | struct GNUNET_CRYPTO_RsaSignature **sig, | 106 | struct GNUNET_CRYPTO_RsaSignature **sig, |
111 | struct GNUNET_TIME_Absolute **sig_expiration); | 107 | struct GNUNET_TIME_Absolute **sig_expiration); |
112 | 108 | ||
113 | 109 | ||
114 | #endif | 110 | #endif |