#include "cifparse.h"
int ndb_cif_write_ddl_by_format(CifHandle *ddl,
FILE *fp
CifHandle *format);
ndb_cif_write_ddl_by_format writes all of the data blocks loaded into the CifHande data structure specified by ddl to the file pointed to by the input file descriptor. Format of save frames is defined by input parameter format.
ddl | pointer to the CifHandle data structure where the data is loaded |
fp | pointer to the file descriptor for the mmCIF output file |
format | pointer to the CifHandle data structure where the format is loaded |
Returns the number of data blocks written or 0 for failure.
See also: | ndb_cif_read_ddl |
---|---|
ndb_cif_read_ddl_with_format |