void insert( key, ptrs ) typekey key; datarecord *ptrs[]; { extern int n; int i; i = hashfunction( key ); ptrs[i] = newnode( key, ptrs[i] ); n++; }