Loading...
Searching...
No Matches
slInit_Static.cc
Go to the documentation of this file.
/****************************************
* Computer Algebra System SINGULAR *
****************************************/
/***************************************************************
* File: slInit_Static.cc
* Purpose: link initialization for static linking
* Author: obachman (Olaf Bachmann)
* Created: 12/00
*******************************************************************/
#include "kernel/mod2.h"
#include "Singular/links/silink.h"
#include "Singular/links/slInit.h"
#ifdef HAVE_DBM
# ifndef USE_GDBM
# include "Singular/links/dbm_sl.h"
# else
# include "Singular/links/sing_dbm.h"
#endif
si_link_extension slInitDBMExtension(si_link_extension s)
{
s->Open=dbOpen;
s->Close=dbClose;
s->Kill=dbClose;
s->Read=dbRead1;
s->Read2=dbRead2;
s->Write=dbWrite;
s->Status=slStatusAscii;
s->type="DBM";
return s;
}
#endif /* #ifdef HAVE_DBM */
slStatusAscii
const char * slStatusAscii(si_link l, const char *request)
Definition asciiLink.cc:211
dbm_sl.h
dbOpen
LINKAGE BOOLEAN dbOpen(si_link l, short flag, leftv u)
Definition sing_dbm.cc:283
dbClose
LINKAGE BOOLEAN dbClose(si_link l)
Definition sing_dbm.cc:320
dbRead1
LINKAGE leftv dbRead1(si_link l)
Definition sing_dbm.cc:379
dbWrite
LINKAGE BOOLEAN dbWrite(si_link l, leftv v)
Definition sing_dbm.cc:384
dbRead2
LINKAGE leftv dbRead2(si_link l, leftv key)
Definition sing_dbm.cc:333
s
const CanonicalForm int s
Definition facAbsFact.cc:51
mod2.h
silink.h
sing_dbm.h
slInit.h
slInitDBMExtension
si_link_extension slInitDBMExtension(si_link_extension s)
Definition slInit_Static.cc:27