66 time_t lifetime, KeyTime=0;
73 hent = khash % hashtablesize;
74 if ((hip = hashtable[hent]) && (hip = Search(hip, khash, KeyVal, &prevhip)))
77 (LifeTime || hip->
Time() ? LifeTime + time(0) : 0) );}
79 && ((lifetime=hip->
Time())==0||lifetime>=time(0)))
return hip->
Data();
80 Remove(hent, hip, prevhip);
84 if (hashnum >= hashmax) {Expand(); hent = khash % hashtablesize;}
89 if (LifeTime) KeyTime = LifeTime + time(0);
91 hashtable[hent], opt)) )
throw ENOMEM;
92 hashtable[hent] = newhip;