1: # include <ingres.h> 2: # include <symbol.h> 3: # include "IIglobals.h" 4: # include <sccs.h> 5: 6: SCCSID(@(#)IIsetup.c 8.1 12/31/84) 7: 8: 9: /* 10: ** IIsetup is called to mark the start of a retrieve. 11: */ 12: 13: IIsetup() 14: { 15: # ifdef xETR1 16: if (IIdebug) 17: printf("IIsetup\n"); 18: # endif 19: IIin_retrieve = 1; 20: IIr_sym.type = IIr_sym.len = 0; 21: IIdomains = 0; 22: IIerrflag = 0; 23: 24: /* flush old data from IIpb and do pre-read */ 25: IIpb_flush(&IIpb); 26: IIpb_prime(&IIpb, PB_NOTYPE); 27: }