-
-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manual: HTML updates in lib/db and db manual pages and README files
This PR provides minor HTML fixes to `lib/db/` and `db/` manual related files: - convert several `README` to `README.md` - update selected broken URLs - partially sync `grass-mysql.html` and `grass-mesql.html` incl. section order
- Loading branch information
Showing
12 changed files
with
164 additions
and
176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
This directory contains drivers for the DBMI library. | ||
The driver functions are for internal usage. | ||
|
||
The DBMI API to be used for module programming is available in: | ||
`lib/db/` | ||
|
||
NOTE: | ||
`db__driver_*` functions are implemented in a driver. If some of them | ||
are not used or defined, the driver will use stub functions in | ||
`lib/db/stubs/`. | ||
|
||
For some platforms like Cygwin, multiply defined symbols are not | ||
resolved in a way that UNIX does. Even worse is that it is impossible | ||
to build shared libraries with undefined symbols. For example, | ||
`libgrass*dbmidriver.so` cannot be built without any implementations | ||
of `db__driver*\*` functions which should be specific to a db driver. | ||
|
||
To work around this problem, function pointers are defined to use | ||
driver's implementations instead of those of the db stubs library. | ||
To do this automatically, run `../mk_dbdriver_h.sh` (GRASS GIS 6) | ||
in driver's directory, `#include "dbdriver.h"` from `main.c`, and | ||
execute `init_dbdriver()`. | ||
|
||
Function pointers are defined in `lib/db/dbmi_driver/dbstubs.h` | ||
This header file can be generated with | ||
`lib/db/dbmi_driver/mk_dbstubs_h.sh` (GRASS GIS 6). | ||
|
||
Please read lib/db/README.md and | ||
|
||
<https://grass.osgeo.org/programming8/dbmilib.html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
## DBMI library | ||
|
||
### Purpose | ||
|
||
Database management functions for modules and drivers. | ||
|
||
### Authors | ||
|
||
Original author: | ||
|
||
- Joel Jones (CERL/UIUC) (jjones zorro.cecer.army.mil) | ||
|
||
Ref: <https://lists.osgeo.org/pipermail/grass-dev/1995-February/002015.html> | ||
|
||
Further authors: | ||
|
||
- Radim Blazek (radim.blazek gmail.com) | ||
- Brad Douglas (rez touchofmadness.com) | ||
- Glynn Clements (glynn gclements.plus.com) | ||
- Roberto Flor, Hamish Bowman (hamish_b yahoo.com) | ||
- Markus Neteler (neteler itc.it) | ||
- Huidae Cho (grass4u gmail.com) | ||
- Paul Kelly (paul-grass stjohnspoint.co.uk) | ||
- Martin Landa (landa.martin gmail.com) | ||
- Moritz Lennert (mlennert club.worldonline.be) | ||
- Daniel Calvelo Aros (dca.gis gmail.com) | ||
- Bernhard Reiter (bernhard intevation.de) | ||
- Alex Shevlakov (sixote yahoo.com) | ||
|
||
### Copyright | ||
|
||
(C) 2003-2024 by the GRASS Development Team | ||
|
||
### License | ||
|
||
This program is free software under the GNU General Public | ||
License (>=v2). Read the file COPYING that comes with GRASS | ||
for details. | ||
|
||
### Directory contents | ||
|
||
- `dbmi/`: DataBase Management Interface (`db_*()` functions) | ||
- `dbmi_base/`: contains functions for modules, drivers (`../../db/drivers/`) | ||
- `dbmi_client/`: contains functions for modules | ||
- `dbmi_driver/`: contains functions for drivers (`../../db/drivers/`) | ||
- `sqlp/`: SQL parser library | ||
- `stubs/`: stubs for unimplemented DB functions | ||
|
||
The DBMI drivers are stored in | ||
`../../db/drivers/` | ||
|
||
The DBMI user modules are stored in | ||
`../../db/base/` | ||
|
||
NOTE: | ||
Please read db/drivers/README.md | ||
|
||
To generate `dbmi_driver/dbstubs.h` automatically, run `./mk_dbstubs_h.sh` in | ||
`dbmi_driver/` directory (GRASS GIS 6). |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.