Markus Metz 623c7b94ec simplify wingrass LFS 12 سال پیش
..
test 956e32fa47 Typo fix 13 سال پیش
Makefile 002bbe23df Keep all library dependencies in Grass.make 15 سال پیش
README db49180dd7 welcome to GRASS 7.0.svn 17 سال پیش
alloc.c baa5b704a0 db lib: db wrapper for free() should return void, not void * 14 سال پیش
case.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
column.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
columnfmt.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
connect.c 3ef1991bf8 typos fixed (bug trac https://trac.osgeo.org/grass/ticket/1591) 13 سال پیش
cursor.c 09b7db1dd9 doxygen errors fixed 12 سال پیش
datetime.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
dbmscap.c 1dc352bde4 wingrass: fix dbmi_base compilation 13 سال پیش
default_name.c f5c4e9ffc9 dblib: sqlite needs exclusive access to the folder with the database 12 سال پیش
dirent.c 09b7db1dd9 doxygen errors fixed 12 سال پیش
error.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
handle.c edfa1e7688 dbmi: update dox strings for db_set_handle 13 سال پیش
index.c 09b7db1dd9 doxygen errors fixed 12 سال پیش
interval.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
isdir.c 623c7b94ec simplify wingrass LFS 12 سال پیش
legal_dbname.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
login.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
macros.h db49180dd7 welcome to GRASS 7.0.svn 17 سال پیش
ret_codes.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
sqlCtype.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
sqltype.c e8e0c8eb69 revert https://trac.osgeo.org/grass/changeset/54684 12 سال پیش
string.c bdbeed94b6 dbmi: use G_zero() for initialization 13 سال پیش
strip.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
table.c 45287fa91d db lib: fix memory leak 13 سال پیش
token.c c966052566 doxygen strings for token.c 15 سال پیش
value.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
valuefmt.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
whoami.c 3ef1991bf8 typos fixed (bug trac https://trac.osgeo.org/grass/ticket/1591) 13 سال پیش
xdr.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdr.h 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ 17 سال پیش
xdrchar.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrcolumn.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrdatetime.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrdouble.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrfloat.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrhandle.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrindex.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrint.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrprocedure.c 1dba9b62d4 dox: fixing several doxygen warnings (wrong file names, typos, lt gt chars) 12 سال پیش
xdrshort.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrstring.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrtable.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrtoken.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
xdrvalue.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش
zero.c 7259e5a937 update doxygen documentation of DBMI library (BASE) 14 سال پیش

README

This library contains routines called both by client and drivers.

The low level communication is in the xdr*.c files. The routines
All the xdr*.c files create and destroy and XDRS structure.
the xdr_destroy() calls fflush() on the FILE * which is necessary
for the communication along both pipes to work properly.

The client stubs are in c_*.c files.

The driver implementation for any routine, say db_xxxx() is
to be named db_driver_xxxx().

The drivers must write the db_driver_xxxx()
For example
db_ls() /* client routine */
db_driver_ls() /* driver routine */

----------------------------------------------------------
The following variables need to be supplied by gmake

XDRLIB:
the library which contains the xdr_int(), et al routines
sun: none, seems that these are in -lc
dg aviion: none, seems that these are in -lc
intergraph: XDRLIB = -lbsd
linux0.99: XDRLIB = -lrpclib
mips: XDRLIB = -lrpcsvc
sgi: XDRLIB = -lsun

USE_DIRECT:
#define that says to use #include and struct direct
instead of #include and struct dirent

mips: USE_DIRECT = -DUSE_DIRECT

USE_BUFFERED_IO:
#define that says to not to call setbuf(fd, NULL) to force unbuffered io

sun: USE_BUFFERED_IO = -DUSE_BUFFERED_IO
mips: USE_BUFFERED_IO = -DUSE_BUFFERED_IO
note:
intergraph, sgi won't work unless io is unbuffered.
sun, mips can use buffered io.

CC:
mips: CC = /bsd43/bin/cc

---------------
The $DBMSCAP file should have the remote-shell full path in the
command and not let $PATH handle it.

sun: /usr/ucb/rsh
mips: /bin/net/rsh
intergraph: /usr/bin/rcmd
sgi: /usr/bsd/rsh