free(evt);
}
else {
- switch (ctxt->ctxt_type) {
+ int type = ctxt_type(ctxt);
+ switch (type) {
case ELT_SOUR_DATA:
ADDFUNC2(source,source_event)(ctxt, evt); break;
default:
- UNEXPECTED_CONTEXT(ctxt->ctxt_type);
+ UNEXPECTED_CONTEXT(type);
}
result = MAKE_GOM_CTXT(elt, source_event, evt);
}
}
DEFINE_SUB_MAKEFUNC(source_event)
+DEFINE_SUB_ADDFUNC(source_event)
+DEFINE_SUB_FINDFUNC(source_event)
+DEFINE_SUB_REMOVEFUNC(source_event)
+DEFINE_SUB_MOVEFUNC(source_event)
DEFINE_DATE_CB(source_event, sub_sour_even_date_start, date_period)
DEFINE_STRING_CB(source_event, sub_sour_even_plac_start, jurisdiction)