00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef _PERLVDB_H
00028 #define _PERLVDB_H
00029
00030
00031 #include "../../lib/srdb1/db.h"
00032 #include "../../sr_module.h"
00033 #include "../../mem/shm_mem.h"
00034 #include "../../mem/mem.h"
00035 #include "../../dprint.h"
00036
00037
00038 #ifdef USE_SYSV_SEM
00039 # define HAS_UNION_SEMUN
00040 #endif
00041
00042 #undef OP_LT
00043 #undef OP_GT
00044 #undef OP_EQ
00045
00046 #undef load_module
00047
00048 #include <EXTERN.h>
00049 #include <perl.h>
00050
00051 #include "perlvdb_conv.h"
00052 #include "perlvdb_oohelpers.h"
00053 #include "perlvdbfunc.h"
00054
00055 #define PERL_VDB_BASECLASS "OpenSER::VDB"
00056
00057 #define PERL_VDB_USETABLEMETHOD "use_table"
00058 #define PERL_VDB_INSERTMETHOD "_insert"
00059 #define PERL_VDB_REPLACEMETHOD "_replace"
00060 #define PERL_VDB_UPDATEMETHOD "_update"
00061 #define PERL_VDB_DELETEMETHOD "_delete"
00062 #define PERL_VDB_QUERYMETHOD "_query"
00063
00064 #define PERL_VDB_COLDEFSMETHOD "coldefs"
00065 #define PERL_VDB_TYPEMETHOD "type"
00066 #define PERL_VDB_NAMEMETHOD "name"
00067 #define PERL_VDB_ROWSMETHOD "rows"
00068 #define PERL_VDB_DATAMETHOD "data"
00069
00070 extern PerlInterpreter* my_perl;
00071
00072 extern SV* vdbmod;
00073
00074 #endif