NDBM_File.xs revision 7c478bd95313f5f23a4c958a745db2134aa03244
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"
/* If using the DB3 emulation, ENTER is defined both
* by DB3 and Perl. We drop the Perl definition now.
* See also INSTALL section on DB3.
* -- Stanislav Brabec <utx@penguin.cz> */
#include <ndbm.h>
typedef struct {
SV * filter_fetch_key ;
SV * filter_store_key ;
SV * filter_fetch_value ;
SV * filter_store_value ;
int filtering ;
typedef NDBM_File_type * NDBM_File ;
typedef datum datum_value ;
SV * save_defsv ; \
/* printf("filtering %s\n", name) ;*/ \
SvREFCNT_dec(save_defsv) ; \
/*printf("end of filtering %s\n", name) ;*/ \
}
char * dbtype
char * filename
int flags
int mode
CODE:
{
}
}
void
CODE:
int
int flags
if (RETVAL) {
croak("No write permission to ndbm file");
croak("ndbm store returned %d, errno %d, key \"%s\"",
}
int
int
void
{ \
} \
else if (code) { \
else \
} \
}
SV *
CODE:
SV *
CODE:
SV *
CODE:
SV *
CODE: