00001 /******** BEGIN EMBEDDED PERL INTERPRETER DECLARATIONS ********/ 00002 00003 #include <EXTERN.h> 00004 #include <perl.h> 00005 00006 #include <fcntl.h> 00007 #undef ctime /* don't need perl's threaded version */ 00008 #undef printf /* can't use perl's printf until initialized */ 00009 00010 /* In perl.h (or friends) there is a macro that defines sighandler as Perl_sighandler, so we must #undef it so we can use our sighandler() function */ 00011 #undef sighandler 00012 00013 00014 /* and we don't need perl's reentrant versions */ 00015 #undef localtime 00016 #undef getpwnam 00017 #undef getgrnam 00018 #undef strerror 00019 00020 #ifdef aTHX 00021 EXTERN_C void xs_init(pTHX); 00022 #else 00023 EXTERN_C void xs_init(void); 00024 #endif 00025 00026 /******** END EMBEDDED PERL INTERPRETER DECLARATIONS ********/