37 #ifndef __SEXP_OPS_H__
38 #define __SEXP_OPS_H__
61 #define hd_sexp(s) ((s)->list)
66 #define tl_sexp(s) ((s)->list->next)
71 #define next_sexp(s) ((s)->next)
77 #define reset_pcont(c) ((c)->lastPos = NULL)
API for a small, fast and portable s-expression parser library.
sexp_t * bfs_find_sexp(const char *name, sexp_t *start)
sexp_t * find_sexp(const char *name, sexp_t *start)
int sexp_list_length(const sexp_t *sx)
sexp_t * copy_sexp(const sexp_t *sx)