sexp_iowrap(3)
| sexp_iowrap(3) | Library Functions Manual | sexp_iowrap(3) |
NAME
sexp_iowrap -
SYNOPSIS
#include <sexp.h>
Data Fields
pcont_t * cc
int fd
char buf [BUFSIZ]
size_t cnt
Detailed Description
This structure is a wrapper around a standard I/O file descriptor and the parsing infrastructure (continuation and a buffer) required to parse off of it. This is used so that routines can hide the loops and details required to accumulate up data read off of the file descriptor and parse expressions individually out of it.
Field Documentation
char buf[BUFSIZ] Buffer to read data into before parsing.
pcont_t* cc Continuation used to parse off of the file descriptor.
size_t cnt Byte count for last read. If it is -1, there was an error. Otherwise, it will be a value from 0 to BUFSIZ.
int fd The file descriptor. Currently CANNOT be a socket since implementation uses read(), not recv().
Author
Generated automatically by Doxygen for Small, Fast S-Expression Library from the source code.
| Thu Nov 21 2013 | Small, Fast S-Expression Library |
