My Project
Loading...
Searching...
No Matches
slInit_Static.cc
Go to the documentation of this file.
1/****************************************
2* Computer Algebra System SINGULAR *
3****************************************/
4/***************************************************************
5 * File: slInit_Static.cc
6 * Purpose: link initialization for static linking
7 * Author: obachman (Olaf Bachmann)
8 * Created: 12/00
9 *******************************************************************/
10
11
12
13
14#include "kernel/mod2.h"
15
18
19#ifdef HAVE_DBM
20
21# ifndef USE_GDBM
23# else
25#endif
26
27si_link_extension slInitDBMExtension(si_link_extension s)
28{
29 s->Open=dbOpen;
30 s->Close=dbClose;
31 s->Kill=dbClose;
32 s->Read=dbRead1;
33 s->Read2=dbRead2;
34 s->Write=dbWrite;
35 s->Status=slStatusAscii;
36 s->type="DBM";
37 return s;
38}
39#endif /* #ifdef HAVE_DBM */
LINKAGE BOOLEAN dbOpen(si_link l, short flag, leftv u)
Definition: sing_dbm.cc:282
LINKAGE BOOLEAN dbClose(si_link l)
Definition: sing_dbm.cc:319
LINKAGE leftv dbRead1(si_link l)
Definition: sing_dbm.cc:378
LINKAGE BOOLEAN dbWrite(si_link l, leftv v)
Definition: sing_dbm.cc:383
LINKAGE leftv dbRead2(si_link l, leftv key)
Definition: sing_dbm.cc:332
const CanonicalForm int s
Definition: facAbsFact.cc:51
si_link_extension slInitDBMExtension(si_link_extension s)