1: # include   <ingres.h>
   2: # include   <aux.h>
   3: # include   <symbol.h>
   4: # include   "IIglobals.h"
   5: # include   <sccs.h>
   6: 
   7: SCCSID(@(#)IIflushtup.c	8.1	12/31/84)
   8: 
   9: 
  10: /*
  11: **	IIflushtup is called to syncronize the data pipe
  12: **	after a retrieve.
  13: */
  14: 
  15: IIflushtup(file_name, line_no)
  16: char    *file_name;
  17: int line_no;
  18: {
  19:     register int        i;
  20: 
  21:     if (IIproc_name = file_name)
  22:         IIline_no = line_no;
  23: 
  24: #	ifdef xATR1
  25:     if (IIdebug)
  26:         printf("IIflushtup: IIerrflag %d\n", IIerrflag);
  27: #	endif
  28: 
  29:     if (IIerrflag < 2000)
  30:     {
  31:         while ((IIpb.pb_stat & PB_EOF) == 0)
  32:             IIpb_read(&IIpb);
  33: 
  34:         /* read the RESP block */
  35:         IIpb_prime(&IIpb, PB_NOTYPE);
  36:         IIreadinput(&IIpb);
  37:     }
  38: 
  39:     IIin_retrieve = 0;
  40:     IIndomains = 0;
  41:     IIdomains = 0;
  42:     IInewqry = 0;
  43: }

Defined functions

IIflushtup defined in line 7; never used
Last modified: 1986-04-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 914
Valid CSS Valid XHTML 1.0 Strict