source: git/Singular/links/slInit_Static.cc @ 01776f

spielwiese
Last change on this file since 01776f was fb1675, checked in by Hans Schoenemann <hannes@…>, 7 years ago
use include ".." for singular related .h, p8
  • Property mode set to 100644
File size: 892 bytes
Line 
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
16#include "Singular/links/silink.h"
17#include "Singular/links/slInit.h"
18
19#ifdef HAVE_DBM
20
21# ifndef USE_GDBM
22#   include "Singular/links/dbm_sl.h"
23# else
24#   include "Singular/links/sing_dbm.h"
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 */
Note: See TracBrowser for help on using the repository browser.