dis_sql/src/sql_iff.cxx
//
// iff_symbol_decl - Output a symbol declaration entry.
//
// The difference between this and a definition entry is that
// the later also has location information.
//
// A declaration entry is used for those symbols used but not
// defined, generally any external symbol such as a database
// table, built-in function, etc.
//
Output a symbol declaration entry.
The difference between this and a definition entry is that
the later also has location information.

A declaration entry is used for those symbols used but not
defined, generally any external symbol such as a database
table, built-in function, etc.
Output a symbol declaration entry . The difference between this and a definition entry is that the later also has location information . A declaration entry is used for those symbols used but not defined generally any external symbol such as a database table built - in function etc .
static int iff_symbol_decl (const SQL_SYM * sym)
{
   int rep_flag = 0;
   if (sym) {
      if (esql_mode && sym->sym_replace) {
	 rep_flag = 1;
      }
      if ( ! rep_flag ) {
	 if (iff_symbol_entry (sym, rep_flag) < 0) {
	    return (-1);
	 }
	 if (fputc ('\n', iff_fp) == EOF) {
	    return (iff_io_error ());
	 }
      }
   }
   return (0);
}
static int iff_symbol_decl ( const SQL_SYM * sym ) { int rep_flag = 0 ; if ( sym ) { if ( esql_mode && sym -> sym_replace ) { rep_flag = 1 ; } if ( ! rep_flag ) { if ( iff_symbol_entry ( sym , rep_flag ) < 0 ) { return ( -1 ) ; } if ( fputc ( ' \n ' , iff_fp ) == EOF ) { return ( iff_io_error ( ) ) ; } } } return ( 0 ) ; }
iff_symbol_decl - Output a symbol declaration entry.
iff_symbol_decl - Output a symbol declaration entry .