db_result_t db_tabledef_set_fields ( db_tabledef_t tdef,
const db_fielddef_t fields,
db_fieldno_t  nfields 
)

Set all of the fields for a table definition.

Parameters:
tdef Table configuration.
fields Field configuration(s).
nfields Number of fields.
Returns:
On failure, one of the following error codes is set:

See also:
get_db_error, clear_db_error, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.