diff options
-rw-r--r-- | doc/gnunet-c-tutorial.pdf | bin | 264331 -> 264309 bytes | |||
-rw-r--r-- | doc/gnunet-c-tutorial.tex | 8 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/gnunet-c-tutorial.pdf b/doc/gnunet-c-tutorial.pdf index 1c26a0231..df375a318 100644 --- a/doc/gnunet-c-tutorial.pdf +++ b/doc/gnunet-c-tutorial.pdf | |||
Binary files differ | |||
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 | ||
1117 | GNUnet's PEERSTORE service offers persistent peer-specific arbitrary data storage. | 1117 | GNUnet's PEERSTORE service offers a persistorage for arbitrary peer-specific data. |
1118 | Other GNUnet services can use the PEERSTORE API to store, retrieve and monitor data records. | 1118 | Other GNUnet services can use the PEERSTORE to store, retrieve and monitor data records. |
1119 | Each data record stored with PEERSTORE contains the following fields: | 1119 | Each 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 | ||
1195 | The \lstinline|callback| function will be called once with each retrieved record and once | 1195 | The \lstinline|callback| function will be called once with each retrieved record and once |
1196 | more with a \lstinline|NULL| record to signify end of list. | 1196 | more with a \lstinline|NULL| record to signal the end of results. |
1197 | 1197 | ||
1198 | The \lstinline|GNUNET_PEERSTORE_iterate| function returns a handle to the iterate operation. This | 1198 | The \lstinline|GNUNET_PEERSTORE_iterate| function returns a handle to the iterate operation. This |
1199 | handle can be used to cancel the iterate operation only before the callback function is called with | 1199 | handle 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 | ||
1216 | Whenever a new record is stored under the given key combination, the \lstinline|callback| function | 1216 | Whenever a new record is stored under the given key combination, the \lstinline|callback| function |
1217 | will be called with this new record. This will continue until the connection to the PEERSTORE service | 1217 | will be called with this new record. This will continue until the connection to the PEERSTORE service |
1218 | is broken or the watch operation is cancelled: | 1218 | is broken or the watch operation is canceled: |
1219 | \begin{lstlisting} | 1219 | \begin{lstlisting} |
1220 | void | 1220 | void |
1221 | GNUNET_PEERSTORE_watch_cancel (struct GNUNET_PEERSTORE_WatchContext *wc); | 1221 | GNUNET_PEERSTORE_watch_cancel (struct GNUNET_PEERSTORE_WatchContext *wc); |