aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/gnunet-c-tutorial.pdfbin395507 -> 262596 bytes
-rw-r--r--doc/gnunet-c-tutorial.tex6
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/gnunet-c-tutorial.pdf b/doc/gnunet-c-tutorial.pdf
index af541228b..f0dfe58b3 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 84df14833..069c1838f 100644
--- a/doc/gnunet-c-tutorial.tex
+++ b/doc/gnunet-c-tutorial.tex
@@ -714,7 +714,7 @@ The complete MQ API can be found in {\tt gnunet\_mq\_lib.h}.
714The {\tt hanlders} array in the example above is incomplete. 714The {\tt hanlders} array in the example above is incomplete.
715Here is where you will define which messages you expect to 715Here is where you will define which messages you expect to
716receive from the service, and which functions handle them. 716receive from the service, and which functions handle them.
717The {\tt error_cb} is a function that is to be called whenever 717The {\tt error\_cb} is a function that is to be called whenever
718there are errors communicating with the service. 718there are errors communicating with the service.
719 719
720\subsubsection{Sending messages} 720\subsubsection{Sending messages}
@@ -780,8 +780,8 @@ or variable size. Variable size messages are managed using two
780callbacks, one to check that the message is well-formed, the other 780callbacks, one to check that the message is well-formed, the other
781to actually process the message. Fixed size messages are fully 781to actually process the message. Fixed size messages are fully
782checked by the MQ-logic, and thus only need to provide the handler 782checked by the MQ-logic, and thus only need to provide the handler
783to process the message. Note that the prefixes {\tt check_} 783to process the message. Note that the prefixes {\tt check\_}
784and {\tt handle_} are mandatory. 784and {\tt handle\_} are mandatory.
785 785
786\lstset{language=c} 786\lstset{language=c}
787\begin{lstlisting} 787\begin{lstlisting}