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/gnunet-service-messenger_ego_store.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/gnunet-service-messenger_ego_store.h')
-rw-r--r-- | src/messenger/gnunet-service-messenger_ego_store.h | 21 |
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; | |||
35 | struct GNUNET_MESSENGER_EgoStore; | 35 | struct GNUNET_MESSENGER_EgoStore; |
36 | 36 | ||
37 | typedef void | 37 | typedef 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 | ||
41 | struct GNUNET_MESSENGER_EgoLookup | 42 | struct 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 | */ |
89 | void | 90 | void |
90 | init_ego_store (struct GNUNET_MESSENGER_EgoStore *store, const struct GNUNET_CONFIGURATION_Handle *config); | 91 | init_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 | */ |
109 | void | 111 | void |
110 | create_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifier, | 112 | create_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 | */ |
122 | void | 125 | void |
123 | lookup_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifier, | 126 | lookup_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 | */ |
135 | struct GNUNET_MESSENGER_Ego* | 140 | struct GNUNET_MESSENGER_Ego* |
136 | update_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *identifier, | 141 | update_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 | */ |
148 | void | 154 | void |
149 | rename_store_ego (struct GNUNET_MESSENGER_EgoStore *store, const char *old_identifier, | 155 | rename_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 |