summaryrefslogtreecommitdiff
path: root/src/include/gnunet_peerinfo_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_peerinfo_service.h')
-rw-r--r--src/include/gnunet_peerinfo_service.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/include/gnunet_peerinfo_service.h b/src/include/gnunet_peerinfo_service.h
index f7663c43e..cdea1a95f 100644
--- a/src/include/gnunet_peerinfo_service.h
+++ b/src/include/gnunet_peerinfo_service.h
@@ -64,7 +64,7 @@ struct GNUNET_PEERINFO_Handle;
64 * etablishment may happen asynchronously). 64 * etablishment may happen asynchronously).
65 */ 65 */
66struct GNUNET_PEERINFO_Handle * 66struct GNUNET_PEERINFO_Handle *
67GNUNET_PEERINFO_connect(const struct GNUNET_CONFIGURATION_Handle *cfg); 67GNUNET_PEERINFO_connect (const struct GNUNET_CONFIGURATION_Handle *cfg);
68 68
69 69
70/** 70/**
@@ -77,7 +77,7 @@ GNUNET_PEERINFO_connect(const struct GNUNET_CONFIGURATION_Handle *cfg);
77 * @param h handle to disconnect 77 * @param h handle to disconnect
78 */ 78 */
79void 79void
80GNUNET_PEERINFO_disconnect(struct GNUNET_PEERINFO_Handle *h); 80GNUNET_PEERINFO_disconnect (struct GNUNET_PEERINFO_Handle *h);
81 81
82 82
83/** 83/**
@@ -99,10 +99,10 @@ GNUNET_PEERINFO_disconnect(struct GNUNET_PEERINFO_Handle *h);
99 * calling @a cont must be prevented) 99 * calling @a cont must be prevented)
100 */ 100 */
101struct GNUNET_MQ_Envelope * 101struct GNUNET_MQ_Envelope *
102GNUNET_PEERINFO_add_peer(struct GNUNET_PEERINFO_Handle *h, 102GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
103 const struct GNUNET_HELLO_Message *hello, 103 const struct GNUNET_HELLO_Message *hello,
104 GNUNET_SCHEDULER_TaskCallback cont, 104 GNUNET_SCHEDULER_TaskCallback cont,
105 void *cont_cls); 105 void *cont_cls);
106 106
107 107
108/** 108/**
@@ -145,11 +145,11 @@ struct GNUNET_PEERINFO_IteratorContext;
145 * @return iterator context 145 * @return iterator context
146 */ 146 */
147struct GNUNET_PEERINFO_IteratorContext * 147struct GNUNET_PEERINFO_IteratorContext *
148GNUNET_PEERINFO_iterate(struct GNUNET_PEERINFO_Handle *h, 148GNUNET_PEERINFO_iterate (struct GNUNET_PEERINFO_Handle *h,
149 int include_friend_only, 149 int include_friend_only,
150 const struct GNUNET_PeerIdentity *peer, 150 const struct GNUNET_PeerIdentity *peer,
151 GNUNET_PEERINFO_Processor callback, 151 GNUNET_PEERINFO_Processor callback,
152 void *callback_cls); 152 void *callback_cls);
153 153
154 154
155/** 155/**
@@ -158,7 +158,7 @@ GNUNET_PEERINFO_iterate(struct GNUNET_PEERINFO_Handle *h,
158 * @param ic context of the iterator to cancel 158 * @param ic context of the iterator to cancel
159 */ 159 */
160void 160void
161GNUNET_PEERINFO_iterate_cancel(struct GNUNET_PEERINFO_IteratorContext *ic); 161GNUNET_PEERINFO_iterate_cancel (struct GNUNET_PEERINFO_IteratorContext *ic);
162 162
163 163
164/** 164/**
@@ -183,10 +183,10 @@ struct GNUNET_PEERINFO_NotifyContext;
183 * @return NULL on error 183 * @return NULL on error
184 */ 184 */
185struct GNUNET_PEERINFO_NotifyContext * 185struct GNUNET_PEERINFO_NotifyContext *
186GNUNET_PEERINFO_notify(const struct GNUNET_CONFIGURATION_Handle *cfg, 186GNUNET_PEERINFO_notify (const struct GNUNET_CONFIGURATION_Handle *cfg,
187 int include_friend_only, 187 int include_friend_only,
188 GNUNET_PEERINFO_Processor callback, 188 GNUNET_PEERINFO_Processor callback,
189 void *callback_cls); 189 void *callback_cls);
190 190
191 191
192/** 192/**
@@ -195,7 +195,7 @@ GNUNET_PEERINFO_notify(const struct GNUNET_CONFIGURATION_Handle *cfg,
195 * @param nc context to stop notifying 195 * @param nc context to stop notifying
196 */ 196 */
197void 197void
198GNUNET_PEERINFO_notify_cancel(struct GNUNET_PEERINFO_NotifyContext *nc); 198GNUNET_PEERINFO_notify_cancel (struct GNUNET_PEERINFO_NotifyContext *nc);
199 199
200 200
201#if 0 /* keep Emacsens' auto-indent happy */ 201#if 0 /* keep Emacsens' auto-indent happy */