aboutsummaryrefslogtreecommitdiff
path: root/doc/documentation/tutorial-examples/013.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/documentation/tutorial-examples/013.c')
-rw-r--r--doc/documentation/tutorial-examples/013.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/documentation/tutorial-examples/013.c b/doc/documentation/tutorial-examples/013.c
new file mode 100644
index 0000000000..6792417e19
--- /dev/null
+++ b/doc/documentation/tutorial-examples/013.c
@@ -0,0 +1,12 @@
+struct GNUNET_PEERSTORE_StoreContext *
+GNUNET_PEERSTORE_store (struct GNUNET_PEERSTORE_Handle *h,
+ const char *sub_system,
+ const struct GNUNET_PeerIdentity *peer,
+ const char *key,
+ const void *value,
+ size_t size,
+ struct GNUNET_TIME_Absolute expiry,
+ enum GNUNET_PEERSTORE_StoreOption options,
+ GNUNET_PEERSTORE_Continuation cont,
+ void *cont_cls);
+