diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gnunet-c-tutorial.pdf | bin | 395507 -> 262596 bytes | |||
-rw-r--r-- | doc/gnunet-c-tutorial.tex | 6 |
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}. | |||
714 | The {\tt hanlders} array in the example above is incomplete. | 714 | The {\tt hanlders} array in the example above is incomplete. |
715 | Here is where you will define which messages you expect to | 715 | Here is where you will define which messages you expect to |
716 | receive from the service, and which functions handle them. | 716 | receive from the service, and which functions handle them. |
717 | The {\tt error_cb} is a function that is to be called whenever | 717 | The {\tt error\_cb} is a function that is to be called whenever |
718 | there are errors communicating with the service. | 718 | there 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 | |||
780 | callbacks, one to check that the message is well-formed, the other | 780 | callbacks, one to check that the message is well-formed, the other |
781 | to actually process the message. Fixed size messages are fully | 781 | to actually process the message. Fixed size messages are fully |
782 | checked by the MQ-logic, and thus only need to provide the handler | 782 | checked by the MQ-logic, and thus only need to provide the handler |
783 | to process the message. Note that the prefixes {\tt check_} | 783 | to process the message. Note that the prefixes {\tt check\_} |
784 | and {\tt handle_} are mandatory. | 784 | and {\tt handle\_} are mandatory. |
785 | 785 | ||
786 | \lstset{language=c} | 786 | \lstset{language=c} |
787 | \begin{lstlisting} | 787 | \begin{lstlisting} |