dis_sql/src/sql_iff.cxx
//
// iff_literal - Output a literal quoted string.
//
Output a literal quoted string.
Output a literal quoted string .
static int iff_literal (const char * text, int newline_flag)
{
   if (fputc ('"', iff_fp) == EOF) {
      return (iff_io_error ());
   }
   if (iff_literal_text (text) < 0) {
      return (-1);
   }
   if (fputc ('"', iff_fp) == EOF) {
      return (iff_io_error ());
   }
   if (newline_flag) {
      if (fputc ('\n', iff_fp) == EOF) {
	 return (iff_io_error ());
      }
   }
   return (0);
}
static int iff_literal ( const char * text , int newline_flag ) { if ( fputc ( ' ' , iff_fp ) == EOF ) { return ( iff_io_error ( ) ) ; } if ( iff_literal_text ( text ) < 0 ) { return ( -1 ) ; } if ( fputc ( ' ' , iff_fp ) == EOF ) { return ( iff_io_error ( ) ) ; } if ( newline_flag ) { if ( fputc ( ' \n ' , iff_fp ) == EOF ) { return ( iff_io_error ( ) ) ; } } return ( 0 ) ; }
iff_literal - Output a literal quoted string.
iff_literal - Output a literal quoted string .
// starting double-quote for literal // ending double-quote for literal // add newline