Create a new database property list with default values

saf_createProps_database is a function defined in dbprops.c.

Synopsis:

SAF_DbProps * saf_createProps_database(void)

Description: This function creates a database property list which can be passed to the saf_open_database function. All properties in this list are set to their default values:

1
2
3
4
5
6
7
 Clobber = false;
 DbComm = LibComm;
 ImportFile = $SAF_STD_TYPES_PATH  //or
              std_types.saf        //or
              FILE:~/.std_types.saf     //or
              FILE:$SAF_INSTALL/share/std_types.saf;
 ReadOnly = false;

Return Value: A handle to a new database properties list initialized to default values. Otherwise either an error value is returned or an exception is thrown depending on the error handling library property currently in effect (See *Properties*).

Known Bugs: This function sometimes return an error instead of throwing an exception when the library error mode is SAF__ERRMODE_THROW.

See Also: