24 #ifndef SEXP_HANDLER_H
25 #define SEXP_HANDLER_H
27 #if defined(SEAP_THREAD_SAFE)
33 #include "_sexp-datatype.h"
34 #include "../../../common/util.h"
47 #include "generic/redblack.h"
51 #if defined(SEAP_THREAD_SAFE)
52 pthread_rwlock_t rwlock;
54 TREETYPE(handlers) tree;
63 int SEXP_delhandler (
SEXP_handlertbl_t *htbl,
const char *typestr,
size_t typelen);
65 #define SEXP_gethandler_g(s, l) SEXP_gethandler (&gSEXP_handlers, s, l)
66 #define SEXP_reghandler_g(h) SEXP_reghandler (&gSEXP_handlers, h)
67 #define SEXP_delhandler_g(s, l) SEXP_delhandler (&gSEXP_handlers, s, l)
Definition: sexp-handler.h:50
Definition: sexp-handler.h:38