#include <sexp.h>
Data Fields | |
| void(* | start_sexpr )() |
| void(* | end_sexpr )() |
| void(* | characters )(const char *data, size_t len, atom_t aty) |
| void(* | binary )(const char *data, size_t len) |
|
|
The binary function pointer is called when the parser is functioning in INLINE_BINARY mode and binary data is encountered. The function must take two arguments: a pointer to the beginning of the binary data and the number of bytes of data present. |
|
|
The characters function pointer is called when an atom is completely parsed. The function must take three arguments: a pointer to the atom data, the number of elements the atom contains, and the specific type of atom that the data represents. |
|
|
The end_sexpr function pointer is called when an close parenthesis is encountered ending an expression. |
|
|
The start_sexpr function pointer is called when an open parenthesis is encountered starting an expression. |
1.4.6