VMS-IndexedFile

 view release on metacpan or  search on metacpan

IndexedFile/IndexedFile.xs  view on Meta::CPAN

#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

int vmdbm_debug = 0;

/* For some strange reason, DEC created these nice macros and then completely messed them up in XABKEYDEF.H */
#undef xab$w_pos
#undef xab$b_siz
/* The following lines are copied from the XABKEYDEF.H file, BEFORE they're "corrupted" */
#define xab$w_pos xab$r_pos_overlay.xab$w_pos
#define xab$b_siz xab$r_siz_overlay.xab$b_siz

typedef struct _VMSMDBM_STRUCT_
{
  struct FAB      fab;
  struct NAM      nam;
  struct RAB      rab;
  struct XABKEY   xabkey;
  char *          key;
  char            es[256];
  int             replace;



( run in 0.604 second using v1.01-cache-2.11-cpan-65fba6d93b7 )