mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
doc: link to example code; testPsyc: moved interesting code to the top
This commit is contained in:
parent
b6b4ce87e1
commit
852731d30a
3 changed files with 81 additions and 62 deletions
|
@ -58,11 +58,14 @@
|
|||
* the according positions and lengths.
|
||||
*
|
||||
* Now the real parsing begins. The parsing function needs to be called
|
||||
* repeatedly with various actions in between, depending on the return values:
|
||||
* repeatedly with various actions in between, depending on the return values.
|
||||
*
|
||||
* A simplified example follows, see test/testPsyc.c for actual code that
|
||||
* handles incomplete packets too.
|
||||
*
|
||||
* @code
|
||||
*
|
||||
* int res;
|
||||
* int ret;
|
||||
*
|
||||
* do // run the parsing in a loop, each time parsing one line
|
||||
* {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue