aboutsummaryrefslogtreecommitdiff
path: root/doc/gnunet-c-tutorial.tex
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2014-07-29 16:20:09 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2014-07-29 16:20:09 +0000
commit2e224ece509ced0db7e6ca8723963b1b9a41d886 (patch)
tree2800f283d7f16fc3a9b1f56f7966229c456a6627 /doc/gnunet-c-tutorial.tex
parent382bf16eb6e6dbaad808d1330ec40b89922c9c8f (diff)
downloadgnunet-2e224ece509ced0db7e6ca8723963b1b9a41d886.tar.gz
gnunet-2e224ece509ced0db7e6ca8723963b1b9a41d886.zip
minor changes
Diffstat (limited to 'doc/gnunet-c-tutorial.tex')
-rw-r--r--doc/gnunet-c-tutorial.tex8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/gnunet-c-tutorial.tex b/doc/gnunet-c-tutorial.tex
index ccd2afb8f..debfa8477 100644
--- a/doc/gnunet-c-tutorial.tex
+++ b/doc/gnunet-c-tutorial.tex
@@ -1114,8 +1114,8 @@ disconnects (void *cls,
1114 1114
1115\section{Storing peer-specific data using the PEERSTORE service} 1115\section{Storing peer-specific data using the PEERSTORE service}
1116 1116
1117GNUnet's PEERSTORE service offers persistent peer-specific arbitrary data storage. 1117GNUnet's PEERSTORE service offers a persistorage for arbitrary peer-specific data.
1118Other GNUnet services can use the PEERSTORE API to store, retrieve and monitor data records. 1118Other GNUnet services can use the PEERSTORE to store, retrieve and monitor data records.
1119Each data record stored with PEERSTORE contains the following fields: 1119Each data record stored with PEERSTORE contains the following fields:
1120 1120
1121\begin{itemize} 1121\begin{itemize}
@@ -1193,7 +1193,7 @@ iteration over values stored under any of the following key combinations:
1193\end{itemize} 1193\end{itemize}
1194 1194
1195The \lstinline|callback| function will be called once with each retrieved record and once 1195The \lstinline|callback| function will be called once with each retrieved record and once
1196more with a \lstinline|NULL| record to signify end of list. 1196more with a \lstinline|NULL| record to signal the end of results.
1197 1197
1198The \lstinline|GNUNET_PEERSTORE_iterate| function returns a handle to the iterate operation. This 1198The \lstinline|GNUNET_PEERSTORE_iterate| function returns a handle to the iterate operation. This
1199handle can be used to cancel the iterate operation only before the callback function is called with 1199handle can be used to cancel the iterate operation only before the callback function is called with
@@ -1215,7 +1215,7 @@ GNUNET_PEERSTORE_watch (struct GNUNET_PEERSTORE_Handle *h,
1215 1215
1216Whenever a new record is stored under the given key combination, the \lstinline|callback| function 1216Whenever a new record is stored under the given key combination, the \lstinline|callback| function
1217will be called with this new record. This will continue until the connection to the PEERSTORE service 1217will be called with this new record. This will continue until the connection to the PEERSTORE service
1218is broken or the watch operation is cancelled: 1218is broken or the watch operation is canceled:
1219\begin{lstlisting} 1219\begin{lstlisting}
1220void 1220void
1221GNUNET_PEERSTORE_watch_cancel (struct GNUNET_PEERSTORE_WatchContext *wc); 1221GNUNET_PEERSTORE_watch_cancel (struct GNUNET_PEERSTORE_WatchContext *wc);