diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-29 10:19:43 +0000 |
commit | cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch) | |
tree | b704e00a3af618b2cd174a7f89514eaebd82a1cf /src/core/core_api.c | |
parent | bb4fc4f4007988874f910d4de5492f9629301641 (diff) | |
download | gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip |
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/core_api.c b/src/core/core_api.c index 27754010a..30c86d0d9 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c | |||
@@ -39,14 +39,14 @@ struct PeerRecord | |||
39 | /** | 39 | /** |
40 | * We generally do NOT keep peer records in a DLL; this | 40 | * We generally do NOT keep peer records in a DLL; this |
41 | * DLL is only used IF this peer's 'pending_head' message | 41 | * DLL is only used IF this peer's 'pending_head' message |
42 | * is ready for transmission. | 42 | * is ready for transmission. |
43 | */ | 43 | */ |
44 | struct PeerRecord *prev; | 44 | struct PeerRecord *prev; |
45 | 45 | ||
46 | /** | 46 | /** |
47 | * We generally do NOT keep peer records in a DLL; this | 47 | * We generally do NOT keep peer records in a DLL; this |
48 | * DLL is only used IF this peer's 'pending_head' message | 48 | * DLL is only used IF this peer's 'pending_head' message |
49 | * is ready for transmission. | 49 | * is ready for transmission. |
50 | */ | 50 | */ |
51 | struct PeerRecord *next; | 51 | struct PeerRecord *next; |
52 | 52 | ||
@@ -98,7 +98,7 @@ struct PeerRecord | |||
98 | 98 | ||
99 | /** | 99 | /** |
100 | * ID of timeout task for the 'pending_head' handle | 100 | * ID of timeout task for the 'pending_head' handle |
101 | * which is the one with the smallest timeout. | 101 | * which is the one with the smallest timeout. |
102 | */ | 102 | */ |
103 | GNUNET_SCHEDULER_TaskIdentifier timeout_task; | 103 | GNUNET_SCHEDULER_TaskIdentifier timeout_task; |
104 | 104 | ||
@@ -124,7 +124,7 @@ struct PeerRecord | |||
124 | * Entry in a doubly-linked list of control messages to be transmitted | 124 | * Entry in a doubly-linked list of control messages to be transmitted |
125 | * to the core service. Control messages include traffic allocation, | 125 | * to the core service. Control messages include traffic allocation, |
126 | * connection requests and of course our initial 'init' request. | 126 | * connection requests and of course our initial 'init' request. |
127 | * | 127 | * |
128 | * The actual message is allocated at the end of this struct. | 128 | * The actual message is allocated at the end of this struct. |
129 | */ | 129 | */ |
130 | struct ControlMessage | 130 | struct ControlMessage |
@@ -319,7 +319,7 @@ struct GNUNET_CORE_TransmitHandle | |||
319 | struct PeerRecord *peer; | 319 | struct PeerRecord *peer; |
320 | 320 | ||
321 | /** | 321 | /** |
322 | * Corresponding SEND_REQUEST message. Only non-NULL | 322 | * Corresponding SEND_REQUEST message. Only non-NULL |
323 | * while SEND_REQUEST message is pending. | 323 | * while SEND_REQUEST message is pending. |
324 | */ | 324 | */ |
325 | struct ControlMessage *cm; | 325 | struct ControlMessage *cm; |
@@ -396,7 +396,7 @@ reconnect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
396 | 396 | ||
397 | 397 | ||
398 | /** | 398 | /** |
399 | * Notify clients about disconnect and free | 399 | * Notify clients about disconnect and free |
400 | * the entry for connected peer. | 400 | * the entry for connected peer. |
401 | * | 401 | * |
402 | * @param cls the 'struct GNUNET_CORE_Handle*' | 402 | * @param cls the 'struct GNUNET_CORE_Handle*' |
@@ -1393,7 +1393,7 @@ GNUNET_CORE_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
1393 | 1393 | ||
1394 | 1394 | ||
1395 | /** | 1395 | /** |
1396 | * Disconnect from the core service. This function can only | 1396 | * Disconnect from the core service. This function can only |
1397 | * be called *after* all pending 'GNUNET_CORE_notify_transmit_ready' | 1397 | * be called *after* all pending 'GNUNET_CORE_notify_transmit_ready' |
1398 | * requests have been explicitly canceled. | 1398 | * requests have been explicitly canceled. |
1399 | * | 1399 | * |
@@ -1883,7 +1883,7 @@ GNUNET_CORE_peer_change_preference (struct GNUNET_CORE_Handle *h, | |||
1883 | /** | 1883 | /** |
1884 | * Cancel request for getting information about a peer. | 1884 | * Cancel request for getting information about a peer. |
1885 | * Note that an eventual change in preference, trust or bandwidth | 1885 | * Note that an eventual change in preference, trust or bandwidth |
1886 | * assignment MAY have already been committed at the time, | 1886 | * assignment MAY have already been committed at the time, |
1887 | * so cancelling a request is NOT sure to undo the original | 1887 | * so cancelling a request is NOT sure to undo the original |
1888 | * request. The original request may or may not still commit. | 1888 | * request. The original request may or may not still commit. |
1889 | * The only thing cancellation ensures is that the callback | 1889 | * The only thing cancellation ensures is that the callback |