aboutsummaryrefslogtreecommitdiff
path: root/src/messenger/gnunet-service-messenger_operation_store.c
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_operation_store.c
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_operation_store.c')
-rw-r--r--src/messenger/gnunet-service-messenger_operation_store.c20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/messenger/gnunet-service-messenger_operation_store.c b/src/messenger/gnunet-service-messenger_operation_store.c
index a32fbad2c..4f8419daa 100644
--- a/src/messenger/gnunet-service-messenger_operation_store.c
+++ b/src/messenger/gnunet-service-messenger_operation_store.c
@@ -29,7 +29,8 @@
29#include "gnunet-service-messenger_room.h" 29#include "gnunet-service-messenger_room.h"
30 30
31void 31void
32init_operation_store (struct GNUNET_MESSENGER_OperationStore *store, struct GNUNET_MESSENGER_SrvRoom *room) 32init_operation_store (struct GNUNET_MESSENGER_OperationStore *store,
33 struct GNUNET_MESSENGER_SrvRoom *room)
33{ 34{
34 GNUNET_assert((store) && (room)); 35 GNUNET_assert((store) && (room));
35 36
@@ -38,7 +39,9 @@ init_operation_store (struct GNUNET_MESSENGER_OperationStore *store, struct GNUN
38} 39}
39 40
40static int 41static int
41iterate_destroy_operations (void *cls, const struct GNUNET_HashCode *key, void *value) 42iterate_destroy_operations (void *cls,
43 const struct GNUNET_HashCode *key,
44 void *value)
42{ 45{
43 struct GNUNET_MESSENGER_Operation *op = value; 46 struct GNUNET_MESSENGER_Operation *op = value;
44 47
@@ -57,7 +60,8 @@ clear_operation_store (struct GNUNET_MESSENGER_OperationStore *store)
57} 60}
58 61
59static int 62static int
60callback_scan_for_operations (void *cls, const char *filename) 63callback_scan_for_operations (void *cls,
64 const char *filename)
61{ 65{
62 struct GNUNET_MESSENGER_OperationStore *store = cls; 66 struct GNUNET_MESSENGER_OperationStore *store = cls;
63 67
@@ -94,7 +98,9 @@ load_operation_store (struct GNUNET_MESSENGER_OperationStore *store,
94} 98}
95 99
96static int 100static int
97iterate_save_operations (void *cls, const struct GNUNET_HashCode *key, void *value) 101iterate_save_operations (void *cls,
102 const struct GNUNET_HashCode *key,
103 void *value)
98{ 104{
99 const char *save_dir = cls; 105 const char *save_dir = cls;
100 106
@@ -192,10 +198,12 @@ cancel_store_operation (struct GNUNET_MESSENGER_OperationStore *store,
192} 198}
193 199
194extern void 200extern void
195callback_room_deletion (struct GNUNET_MESSENGER_SrvRoom *room, const struct GNUNET_HashCode *hash); 201callback_room_deletion (struct GNUNET_MESSENGER_SrvRoom *room,
202 const struct GNUNET_HashCode *hash);
196 203
197extern void 204extern void
198callback_room_merge (struct GNUNET_MESSENGER_SrvRoom *room, const struct GNUNET_HashCode *hash); 205callback_room_merge (struct GNUNET_MESSENGER_SrvRoom *room,
206 const struct GNUNET_HashCode *hash);
199 207
200void 208void
201callback_store_operation (struct GNUNET_MESSENGER_OperationStore *store, 209callback_store_operation (struct GNUNET_MESSENGER_OperationStore *store,