src/gedlib/node.c
/*===============================================
 * node_to_dbase -- Store GEDCOM tree in database
 *=============================================*/
- Store GEDCOM tree in database
- Store GEDCOM tree in database
void
node_to_dbase (NODE node,
               STRING tag)
{
	STRING str;
	ASSERT(node);
	if (tag) { ASSERT(eqstr(tag, ntag(node))); }
	str = node_to_string(node);
	ASSERT(store_record(rmvat(nxref(node)), str, strlen(str)));
	stdfree(str);
}
void node_to_dbase ( NODE node , STRING tag ) { STRING str ; ASSERT ( node ) ; if ( tag ) { ASSERT ( eqstr ( tag , ntag ( node ) ) ) ; } str = node_to_string ( node ) ; ASSERT ( store_record ( rmvat ( nxref ( node ) ) , str , strlen ( str ) ) ) ; stdfree ( str ) ; }
node_to_dbase -- Store GEDCOM tree in database
node_to_dbase -- Store GEDCOM tree in database