aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/gnunet-service-messenger_ego_store.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/gnunet-service-messenger_ego_store.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/gnunet-service-messenger_ego_store.h')
-rw-r--r--src/messenger/gnunet-service-messenger_ego_store.h21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/messenger/gnunet-service-messenger_ego_store.h b/src/messenger/gnunet-service-messenger_ego_store.h
index 41f14fff2..4222a4e91 100644
--- a/src/messenger/gnunet-service-messenger_ego_store.h
+++ b/src/messenger/gnunet-service-messenger_ego_store.h
@@ -35,7 +35,8 @@ struct GNUNET_MESSENGER_Ego;
35struct GNUNET_MESSENGER_EgoStore; 35struct GNUNET_MESSENGER_EgoStore;
36 36
37typedef void 37typedef void
38(*GNUNET_MESSENGER_EgoLookupCallback) (void *cls, const char *identifier, 38(*GNUNET_MESSENGER_EgoLookupCallback) (void *cls,
39 const char *identifier,
39 const struct GNUNET_MESSENGER_Ego *ego); 40 const struct GNUNET_MESSENGER_Ego *ego);
40 41
41struct GNUNET_MESSENGER_EgoLookup 42struct GNUNET_MESSENGER_EgoLookup
@@ -87,7 +88,8 @@ struct GNUNET_MESSENGER_EgoStore
87 * @param[in] config Configuration handle 88 * @param[in] config Configuration handle
88 */ 89 */
89void 90void
90init_ego_store (struct GNUNET_MESSENGER_EgoStore *store, const struct GNUNET_CONFIGURATION_Handle *config); 91init_ego_store (struct GNUNET_MESSENGER_EgoStore *store,
92 const struct GNUNET_CONFIGURATION_Handle *config);
91 93
92/** 94/**
93 * Clears an EGO-store, wipes its content and deallocates its memory. 95 * Clears an EGO-store, wipes its content and deallocates its memory.
@@ -107,7 +109,8 @@ clear_ego_store (struct GNUNET_MESSENGER_EgoStore *store);
107 * @param[in/out] handle Handle or NULL 109 * @param[in/out] handle Handle or NULL
108 */ 110 */
109void 111void
110create_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifier, 112create_store_ego (struct GNUNET_MESSENGER_EgoStore *store,
113 const char *identifier,
111 void *handle); 114 void *handle);
112 115
113/** 116/**
@@ -120,8 +123,10 @@ create_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifie
120 * @param[in] cls Closure 123 * @param[in] cls Closure
121 */ 124 */
122void 125void
123lookup_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifier, 126lookup_store_ego (struct GNUNET_MESSENGER_EgoStore *store,
124 GNUNET_MESSENGER_EgoLookupCallback lookup, void *cls); 127 const char *identifier,
128 GNUNET_MESSENGER_EgoLookupCallback lookup,
129 void *cls);
125 130
126/** 131/**
127 * Updates the registration of an EGO to a <i>store</i> under 132 * Updates the registration of an EGO to a <i>store</i> under
@@ -133,7 +138,8 @@ lookup_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifie
133 * @return Updated EGO 138 * @return Updated EGO
134 */ 139 */
135struct GNUNET_MESSENGER_Ego* 140struct GNUNET_MESSENGER_Ego*
136update_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifier, 141update_store_ego (struct GNUNET_MESSENGER_EgoStore *store,
142 const char *identifier,
137 const struct GNUNET_IDENTITY_PrivateKey *key); 143 const struct GNUNET_IDENTITY_PrivateKey *key);
138 144
139/** 145/**
@@ -146,7 +152,8 @@ update_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifie
146 * @param[in] new_identifier New identifier string 152 * @param[in] new_identifier New identifier string
147 */ 153 */
148void 154void
149rename_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *old_identifier, 155rename_store_ego (struct GNUNET_MESSENGER_EgoStore *store,
156 const char *old_identifier,
150 const char *new_identifier); 157 const char *new_identifier);
151 158
152#endif //GNUNET_SERVICE_MESSENGER_EGO_STORE_H 159#endif //GNUNET_SERVICE_MESSENGER_EGO_STORE_H