diff options
author | Julius Bünger <buenger@mytum.de> | 2015-01-13 10:20:32 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-01-13 10:20:32 +0000 |
commit | f5b01ce67749faebc26be6c1cb1b064f8c02655e (patch) | |
tree | 066e97b6b285679fae45a9c5357fb8f3844109d5 /src/include/gnunet_rps_service.h | |
parent | 0f649608b4d8c3f82fd1f240bc0d28c2713c7699 (diff) | |
download | gnunet-f5b01ce67749faebc26be6c1cb1b064f8c02655e.tar.gz gnunet-f5b01ce67749faebc26be6c1cb1b064f8c02655e.zip |
implemented seeding
Diffstat (limited to 'src/include/gnunet_rps_service.h')
-rw-r--r-- | src/include/gnunet_rps_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_rps_service.h b/src/include/gnunet_rps_service.h index 259fd1eca..39c9a1f38 100644 --- a/src/include/gnunet_rps_service.h +++ b/src/include/gnunet_rps_service.h | |||
@@ -65,7 +65,7 @@ typedef void (* GNUNET_RPS_NotifyReadyCB) (void *cls, uint64_t num_peers, const | |||
65 | * @return handle to the rps service | 65 | * @return handle to the rps service |
66 | */ | 66 | */ |
67 | struct GNUNET_RPS_Handle * | 67 | struct GNUNET_RPS_Handle * |
68 | GNUNET_RPS_connect( const struct GNUNET_CONFIGURATION_Handle *cfg ); | 68 | GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); |
69 | 69 | ||
70 | /** | 70 | /** |
71 | * Request n random peers. | 71 | * Request n random peers. |
@@ -95,7 +95,7 @@ GNUNET_RPS_request_peers (struct GNUNET_RPS_Handle *h, uint64_t n, | |||
95 | */ | 95 | */ |
96 | void | 96 | void |
97 | GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n, | 97 | GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n, |
98 | struct GNUNET_PeerIdentity * ids); | 98 | const struct GNUNET_PeerIdentity * ids); |
99 | 99 | ||
100 | /** | 100 | /** |
101 | * Cancle an issued request. | 101 | * Cancle an issued request. |
@@ -103,7 +103,7 @@ GNUNET_RPS_seed_ids (struct GNUNET_RPS_Handle *h, uint64_t n, | |||
103 | * @param rh handle of the pending request to be canceled | 103 | * @param rh handle of the pending request to be canceled |
104 | */ | 104 | */ |
105 | void | 105 | void |
106 | GNUNET_RPS_request_cancel ( struct GNUNET_RPS_Request_Handle *rh ); | 106 | GNUNET_RPS_request_cancel (struct GNUNET_RPS_Request_Handle *rh); |
107 | 107 | ||
108 | /** | 108 | /** |
109 | * Disconnect from the rps service | 109 | * Disconnect from the rps service |
@@ -111,7 +111,7 @@ GNUNET_RPS_request_cancel ( struct GNUNET_RPS_Request_Handle *rh ); | |||
111 | * @param h the handle to the rps service | 111 | * @param h the handle to the rps service |
112 | */ | 112 | */ |
113 | void | 113 | void |
114 | GNUNET_RPS_disconnect ( struct GNUNET_RPS_Handle *h ); | 114 | GNUNET_RPS_disconnect (struct GNUNET_RPS_Handle *h); |
115 | 115 | ||
116 | #if 0 /* keep Emacsens' auto-indent happy */ | 116 | #if 0 /* keep Emacsens' auto-indent happy */ |
117 | { | 117 | { |