int shisa_cfg_db(Shisa * dbh, const char * value);
- Shisa * dbh
- Shisa library handle created by shisa().
- const char * value
- string with database definition.
DESCRIPTIONSetup and open a new database. The syntax of the value parameter is "TYPE[ LOCATION[ PARAMETER]]", where TYPE is one of the supported database types (e.g., "file") and LOCATION and PARAMETER are optional strings passed to the database during initialization. Neither TYPE nor LOCATION can contain " " (SPC), but PARAMETER may.
RETURN VALUEReturns SHISA_OK if database was parsed and open successfully.
REPORTING BUGSReport bugs to <[email protected]>.
COPYRIGHTCopyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.