#include "ndb_cifparse.h"
int ndb_cif_read_ddl_with_format(CifHandle *ddl,
FILE *fp,
CifHandle *format);
ndb_cif_read_ddl_with_format reads a ddl file into the CifHandle data structure specified by ddl. Also saves the format of save frames into CifHandle data structure specified by format . All interaction with the data file takes place inside this function. Subsequent access to ddl data is managed by a set of methods that access memory resident data.
ddl | pointer to the CifHandle data structure where the ddl file is loaded |
fp | pointer to the file descriptor for the ddl input file |
format | pointer to the CifHandle structure where the format is loaded |
Returns the number of data blocks in the input file or 0 for failure.
Function does provide new value to the ddl and format.
See also: | ndb_cif_read_ddl |
---|---|
ndb_cif_write_ddl_by_format |