2009-12-02 07:56:18 +00:00
|
|
|
#if defined (__SVR4) && defined (__sun)
|
|
|
|
#include <uconfig.h>
|
|
|
|
#endif
|
2008-04-25 22:12:01 +00:00
|
|
|
#include <EXTERN.h>
|
2009-12-02 14:24:52 +00:00
|
|
|
#if defined (__SVR4) && defined (__sun)
|
2009-12-02 07:56:18 +00:00
|
|
|
#include <embed.h>
|
2009-12-02 14:24:52 +00:00
|
|
|
#endif
|
2008-04-25 22:12:01 +00:00
|
|
|
#include <perl.h>
|
|
|
|
|
2008-05-27 04:54:52 +00:00
|
|
|
EXTERN_C void xs_init(pTHX);
|
2008-04-25 22:12:01 +00:00
|
|
|
|
2008-05-27 04:54:52 +00:00
|
|
|
EXTERN_C void boot_DynaLoader(pTHX_ CV * cv);
|
|
|
|
EXTERN_C void boot_freeswitch(pTHX_ CV * cv);
|
2008-04-25 22:12:01 +00:00
|
|
|
|
2008-05-27 04:54:52 +00:00
|
|
|
EXTERN_C void xs_init(pTHX)
|
2008-04-25 22:12:01 +00:00
|
|
|
{
|
|
|
|
char *file = __FILE__;
|
|
|
|
dXSUB_SYS;
|
|
|
|
|
|
|
|
/* DynaLoader is a special case */
|
|
|
|
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
|
|
|
|
newXS("freeswitchc::boot_freeswitch", boot_freeswitch, file);
|
|
|
|
}
|