1: # include "../ingres.h" 2: # include "../access.h" 3: 4: /* 5: ** 6: */ 7: 8: acc_addbuf(bufs, cnt) 9: struct accbuf bufs[]; 10: int cnt; 11: { 12: register struct accbuf *b, *end; 13: 14: b = bufs; 15: end = &b[cnt -1]; 16: acc_init(); 17: 18: for ( ; b <= end; b++) 19: { 20: b->bufstatus = 0; 21: resetacc(b); 22: Acc_tail->modf = b; 23: b->modb = Acc_tail; 24: b->modf = NULL; 25: Acc_tail = b; 26: } 27: }