#include #include EXTERN_C void xs_init(pTHX); EXTERN_C void boot_DynaLoader(pTHX_ CV * cv); EXTERN_C void boot_freeswitch(pTHX_ CV * cv); EXTERN_C void xs_init(pTHX) { char *file = __FILE__; dXSUB_SYS; /* DynaLoader is a special case */ newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file); newXS("freeswitchc::boot_freeswitch", boot_freeswitch, file); }