Vaclav Petras c6e81b98e8 Fix spelling in comments, esp. in wxGUI code (#1357) %!s(int64=4) %!d(string=hai) anos
..
test 956e32fa47 Typo fix %!s(int64=13) %!d(string=hai) anos
Makefile 04b1b24bfc Move dbstubs.h to fix build failures from https://trac.osgeo.org/grass/changeset/66773 %!s(int64=9) %!d(string=hai) anos
README db49180dd7 welcome to GRASS 7.0.svn %!s(int64=17) %!d(string=hai) anos
alloc.c baa5b704a0 db lib: db wrapper for free() should return void, not void * %!s(int64=14) %!d(string=hai) anos
case.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
column.c c6e81b98e8 Fix spelling in comments, esp. in wxGUI code (#1357) %!s(int64=4) %!d(string=hai) anos
columnfmt.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
connect.c 0b3abe9fa8 lib/dbmibase: fix get/set connection parameters, clarify default and current parameters %!s(int64=6) %!d(string=hai) anos
cursor.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
datetime.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
dbmscap.c 94cca33234 Check content of string instead of its pointer address (#1263) %!s(int64=4) %!d(string=hai) anos
dbstubs.h 04b1b24bfc Move dbstubs.h to fix build failures from https://trac.osgeo.org/grass/changeset/66773 %!s(int64=9) %!d(string=hai) anos
default_name.c 0b3abe9fa8 lib/dbmibase: fix get/set connection parameters, clarify default and current parameters %!s(int64=6) %!d(string=hai) anos
dirent.c 8da3d1826f Avoid redefinition of macros (#1263) %!s(int64=4) %!d(string=hai) anos
error.c 808ae15ac6 dbmi_base lib: add missing arg type %!s(int64=7) %!d(string=hai) anos
handle.c edfa1e7688 dbmi: update dox strings for db_set_handle %!s(int64=13) %!d(string=hai) anos
index.c 09b7db1dd9 doxygen errors fixed %!s(int64=12) %!d(string=hai) anos
interval.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
isdir.c 623c7b94ec simplify wingrass LFS %!s(int64=12) %!d(string=hai) anos
legal_dbname.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
login.c 3c108bf8e4 Fix expressions which evaluates to zero treated as a null pointer constant (#1263) %!s(int64=4) %!d(string=hai) anos
macros.h db49180dd7 welcome to GRASS 7.0.svn %!s(int64=17) %!d(string=hai) anos
ret_codes.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
sqlCtype.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
sqltype.c e8e0c8eb69 revert https://trac.osgeo.org/grass/changeset/54684 %!s(int64=12) %!d(string=hai) anos
string.c 9a9b8230ed various spelling errors fixed %!s(int64=9) %!d(string=hai) anos
strip.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
table.c c6e81b98e8 Fix spelling in comments, esp. in wxGUI code (#1357) %!s(int64=4) %!d(string=hai) anos
token.c c966052566 doxygen strings for token.c %!s(int64=15) %!d(string=hai) anos
value.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
valuefmt.c d33152f1d5 Numerous typos fixed (identified with tools/fix_typos.sh) %!s(int64=8) %!d(string=hai) anos
whoami.c 3ef1991bf8 typos fixed (bug trac https://trac.osgeo.org/grass/ticket/1591) %!s(int64=13) %!d(string=hai) anos
xdr.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdr.h 8868d4b686 indent -bad -bap -bbb -br -bli0 -bls -cli0 -ncs -fc1 -hnl -i4 \ %!s(int64=17) %!d(string=hai) anos
xdrchar.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrcolumn.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrdatetime.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrdouble.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrfloat.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrhandle.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrindex.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrint.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrprocedure.c 1dba9b62d4 dox: fixing several doxygen warnings (wrong file names, typos, lt gt chars) %!s(int64=12) %!d(string=hai) anos
xdrshort.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrstring.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrtable.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrtoken.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
xdrvalue.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos
zero.c 7259e5a937 update doxygen documentation of DBMI library (BASE) %!s(int64=14) %!d(string=hai) anos

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