TsmDatabase* tsmReadDatabase ( char *location )

Reads a dataset database file

Documentation

Reads a dataset database file.

This function takes a URL for a dataset database file and attempts to parse this into a TsmDatabase structure. The parsing routine will check for the following errors in the database file, causing a NULL return pointer:

The format used for the dataset database file is described at: http://www.ai.sri.com/~magic/tsmApi/dataset-db.html

Returns:
The allocated TsmDatabase, or NULL if an error occurred
Parameters:
location - the URL or localdisk filename for the database file
Author:
Martin Reddy
Version:
11 December 1997
See Also:
tsmWriteDatabase, tsmFreeDatabase, TsmDatabase


TSMAPI_RELEASE 2.1 - Release Date: 2001/01/10 19:01:12

Back to tsmApi Home Page