aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-10-20 15:07:03 +0000
committerng0 <ng0@infotropique.org>2017-10-20 15:07:03 +0000
commite55e9187ac7261aa4ad57aa8bc0c010ec2d34324 (patch)
tree570518f6480fc6c6c8c0c548db75db92d25ee9c4 /doc
parentb4521b1b666a681b9a664d7e5f4c54eab85faf29 (diff)
downloadgnunet-e55e9187ac7261aa4ad57aa8bc0c010ec2d34324.tar.gz
gnunet-e55e9187ac7261aa4ad57aa8bc0c010ec2d34324.zip
tutorial-examples 17,19,20: linelength.
Diffstat (limited to 'doc')
-rw-r--r--doc/tutorial-examples/017.c3
-rw-r--r--doc/tutorial-examples/019.c4
-rw-r--r--doc/tutorial-examples/020.c3
3 files changed, 7 insertions, 3 deletions
diff --git a/doc/tutorial-examples/017.c b/doc/tutorial-examples/017.c
index c4acbc088..c86fbcd1f 100644
--- a/doc/tutorial-examples/017.c
+++ b/doc/tutorial-examples/017.c
@@ -1,3 +1,4 @@
1void 1void
2GNUNET_PEERSTORE_disconnect (struct GNUNET_PEERSTORE_Handle *h, int sync_first); 2GNUNET_PEERSTORE_disconnect (struct GNUNET_PEERSTORE_Handle *h,
3 int sync_first);
3 4
diff --git a/doc/tutorial-examples/019.c b/doc/tutorial-examples/019.c
index d016d381b..f05cc336a 100644
--- a/doc/tutorial-examples/019.c
+++ b/doc/tutorial-examples/019.c
@@ -8,7 +8,9 @@ GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle,
8 const struct GNUNET_HashCode *key, 8 const struct GNUNET_HashCode *key,
9 uint32_t desired_replication_level, 9 uint32_t desired_replication_level,
10 enum GNUNET_DHT_RouteOption options, 10 enum GNUNET_DHT_RouteOption options,
11 enum GNUNET_BLOCK_Type type, size_t size, const void *data, 11 enum GNUNET_BLOCK_Type type,
12 size_t size,
13 const void *data,
12 struct GNUNET_TIME_Absolute exp, 14 struct GNUNET_TIME_Absolute exp,
13 struct GNUNET_TIME_Relative timeout, 15 struct GNUNET_TIME_Relative timeout,
14 GNUNET_DHT_PutContinuation cont, void *cont_cls) 16 GNUNET_DHT_PutContinuation cont, void *cont_cls)
diff --git a/doc/tutorial-examples/020.c b/doc/tutorial-examples/020.c
index 5ecba1c16..596db3069 100644
--- a/doc/tutorial-examples/020.c
+++ b/doc/tutorial-examples/020.c
@@ -5,7 +5,8 @@ get_result_iterator (void *cls, struct GNUNET_TIME_Absolute expiration,
5 unsigned int get_path_length, 5 unsigned int get_path_length,
6 const struct GNUNET_PeerIdentity *put_path, 6 const struct GNUNET_PeerIdentity *put_path,
7 unsigned int put_path_length, 7 unsigned int put_path_length,
8 enum GNUNET_BLOCK_Type type, size_t size, const void *data) 8 enum GNUNET_BLOCK_Type type, size_t size,
9 const void *data)
9{ 10{
10 // Optionally: 11 // Optionally:
11 GNUNET_DHT_get_stop (get_handle); 12 GNUNET_DHT_get_stop (get_handle);