diff options
author | TheJackiMonster <thejackimonster@gmail.com> | 2021-09-27 11:02:56 +0200 |
---|---|---|
committer | TheJackiMonster <thejackimonster@gmail.com> | 2021-09-27 11:02:56 +0200 |
commit | 7ecc3a03a0670a1620c603502c9958b95e6dc1d0 (patch) | |
tree | 69d76fd05cbf0facae18b99b526c16426bf9b1c6 /src/messenger/messenger_api_handle.h | |
parent | 1fef34e55a00816bdb237e87ff14d54e6575f763 (diff) | |
download | gnunet-7ecc3a03a0670a1620c603502c9958b95e6dc1d0.tar.gz gnunet-7ecc3a03a0670a1620c603502c9958b95e6dc1d0.zip |
-indentation of parameters
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/messenger/messenger_api_handle.h')
-rw-r--r-- | src/messenger/messenger_api_handle.h | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/src/messenger/messenger_api_handle.h b/src/messenger/messenger_api_handle.h index e6ca474f2..6a43f13a6 100644 --- a/src/messenger/messenger_api_handle.h +++ b/src/messenger/messenger_api_handle.h | |||
@@ -71,8 +71,11 @@ struct GNUNET_MESSENGER_Handle | |||
71 | * @return New handle | 71 | * @return New handle |
72 | */ | 72 | */ |
73 | struct GNUNET_MESSENGER_Handle* | 73 | struct GNUNET_MESSENGER_Handle* |
74 | create_handle (const struct GNUNET_CONFIGURATION_Handle *cfg, GNUNET_MESSENGER_IdentityCallback identity_callback, | 74 | create_handle (const struct GNUNET_CONFIGURATION_Handle *cfg, |
75 | void *identity_cls, GNUNET_MESSENGER_MessageCallback msg_callback, void *msg_cls); | 75 | GNUNET_MESSENGER_IdentityCallback identity_callback, |
76 | void *identity_cls, | ||
77 | GNUNET_MESSENGER_MessageCallback msg_callback, | ||
78 | void *msg_cls); | ||
76 | 79 | ||
77 | /** | 80 | /** |
78 | * Destroys a <i>handle</i> and frees its memory fully from the client API. | 81 | * Destroys a <i>handle</i> and frees its memory fully from the client API. |
@@ -89,7 +92,8 @@ destroy_handle (struct GNUNET_MESSENGER_Handle *handle); | |||
89 | * @param[in] name New name | 92 | * @param[in] name New name |
90 | */ | 93 | */ |
91 | void | 94 | void |
92 | set_handle_name (struct GNUNET_MESSENGER_Handle *handle, const char *name); | 95 | set_handle_name (struct GNUNET_MESSENGER_Handle *handle, |
96 | const char *name); | ||
93 | 97 | ||
94 | /** | 98 | /** |
95 | * Returns the current name of a given <i>handle</i> or NULL if no valid name was assigned yet. | 99 | * Returns the current name of a given <i>handle</i> or NULL if no valid name was assigned yet. |
@@ -107,7 +111,8 @@ get_handle_name (const struct GNUNET_MESSENGER_Handle *handle); | |||
107 | * @param[in] pubkey Public key | 111 | * @param[in] pubkey Public key |
108 | */ | 112 | */ |
109 | void | 113 | void |
110 | set_handle_key (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_IDENTITY_PublicKey *pubkey); | 114 | set_handle_key (struct GNUNET_MESSENGER_Handle *handle, |
115 | const struct GNUNET_IDENTITY_PublicKey *pubkey); | ||
111 | 116 | ||
112 | /** | 117 | /** |
113 | * Returns the public key of a given <i>handle</i>. | 118 | * Returns the public key of a given <i>handle</i>. |
@@ -136,7 +141,8 @@ get_handle_contact_store (struct GNUNET_MESSENGER_Handle *handle); | |||
136 | * @return Contact | 141 | * @return Contact |
137 | */ | 142 | */ |
138 | struct GNUNET_MESSENGER_Contact* | 143 | struct GNUNET_MESSENGER_Contact* |
139 | get_handle_contact (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key); | 144 | get_handle_contact (struct GNUNET_MESSENGER_Handle *handle, |
145 | const struct GNUNET_HashCode *key); | ||
140 | 146 | ||
141 | /** | 147 | /** |
142 | * Marks a room known to a <i>handle</i> identified by a given <i>key</i> as open. | 148 | * Marks a room known to a <i>handle</i> identified by a given <i>key</i> as open. |
@@ -145,7 +151,8 @@ get_handle_contact (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_ | |||
145 | * @param[in] key Key of room | 151 | * @param[in] key Key of room |
146 | */ | 152 | */ |
147 | void | 153 | void |
148 | open_handle_room (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key); | 154 | open_handle_room (struct GNUNET_MESSENGER_Handle *handle, |
155 | const struct GNUNET_HashCode *key); | ||
149 | 156 | ||
150 | /** | 157 | /** |
151 | * Adds a tunnel for a room known to a <i>handle</i> identified by a given <i>key</i> to a | 158 | * Adds a tunnel for a room known to a <i>handle</i> identified by a given <i>key</i> to a |
@@ -156,7 +163,8 @@ open_handle_room (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_Ha | |||
156 | * @param[in] key Key of room | 163 | * @param[in] key Key of room |
157 | */ | 164 | */ |
158 | void | 165 | void |
159 | entry_handle_room_at (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_PeerIdentity *door, | 166 | entry_handle_room_at (struct GNUNET_MESSENGER_Handle *handle, |
167 | const struct GNUNET_PeerIdentity *door, | ||
160 | const struct GNUNET_HashCode *key); | 168 | const struct GNUNET_HashCode *key); |
161 | 169 | ||
162 | /** | 170 | /** |
@@ -166,6 +174,7 @@ entry_handle_room_at (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNE | |||
166 | * @param[in] key Key of room | 174 | * @param[in] key Key of room |
167 | */ | 175 | */ |
168 | void | 176 | void |
169 | close_handle_room (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key); | 177 | close_handle_room (struct GNUNET_MESSENGER_Handle *handle, |
178 | const struct GNUNET_HashCode *key); | ||
170 | 179 | ||
171 | #endif //GNUNET_MESSENGER_API_HANDLE_H | 180 | #endif //GNUNET_MESSENGER_API_HANDLE_H |