next up previous contents
Next: ndb_cif_compress_file Up: Function Description Previous: ndb_cif_write_file_pr

ndb_cif_compare

NAME ndb_cif_compare

PROTOTYPE

#include "cifparse.h"

int ndb_cif_compare(CifHandle *cf1,
                     char *name1,
                     CifHandle *cf2,
                     char *name2,
                     FILE *msg);
PURPOSE

ndb_cif_compare compares two CifHandle structures specified by cif1 and cif2, with the names name1 and name2 recpectively. Result of this comparison is reported into the file pointed to by the input file descriptor msg.

RECEIVES

cf1 pointer to the first CifHandle data structure
name1 name of first cif structure (file)
cf2 pointer to the second CifHandle data structure
name2 to the name of second cif structure (file)
fp pointer to the file descriptor where the results would be reported

RETURN VALUE

Returns the 1 if the structures are the same 0 if not.

REMARKS

None  



Olivera Tosic
6/12/2002