aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/messenger_api_handle.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2021-09-27 11:02:56 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2021-09-27 11:02:56 +0200
commit7ecc3a03a0670a1620c603502c9958b95e6dc1d0 (patch)
tree69d76fd05cbf0facae18b99b526c16426bf9b1c6 /src/messenger/messenger_api_handle.h
parent1fef34e55a00816bdb237e87ff14d54e6575f763 (diff)
downloadgnunet-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.h25
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 */
73struct GNUNET_MESSENGER_Handle* 73struct GNUNET_MESSENGER_Handle*
74create_handle (const struct GNUNET_CONFIGURATION_Handle *cfg, GNUNET_MESSENGER_IdentityCallback identity_callback, 74create_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 */
91void 94void
92set_handle_name (struct GNUNET_MESSENGER_Handle *handle, const char *name); 95set_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 */
109void 113void
110set_handle_key (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_IDENTITY_PublicKey *pubkey); 114set_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 */
138struct GNUNET_MESSENGER_Contact* 143struct GNUNET_MESSENGER_Contact*
139get_handle_contact (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key); 144get_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 */
147void 153void
148open_handle_room (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key); 154open_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 */
158void 165void
159entry_handle_room_at (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_PeerIdentity *door, 166entry_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 */
168void 176void
169close_handle_room (struct GNUNET_MESSENGER_Handle *handle, const struct GNUNET_HashCode *key); 177close_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