Lines Matching defs:hf
64 static char **Xaddone(char **hf, char news[]);
1255 addto(char hf[], char news[])
1262 hf = addone(hf, name);
1264 return hf;
1271 addone(char hf[], char news[])
1275 if (hf == NOSTR)
1276 hf = savestr("");
1278 return(hf);
1279 linebuf = (char *)srealloc(hf, (unsigned)(strlen(hf) + strlen(news) + 2));
1292 nptrs(char **hf)
1296 if (!hf)
1298 for (i = 0; *hf; hf++)
1307 Xaddone(char **hf, char news[])
1310 char **ohf = hf;
1311 int nhf = nptrs(hf);
1313 if (hf == NOSTRPTR)
1314 hf = (char**)salloc(sizeof(char*) * 2);
1316 hf = (char**)srealloc(hf, sizeof(char*) * (nhf + 2));
1317 if (hf == NOSTRPTR) {
1323 hf[nhf++] = linebuf;
1324 hf[nhf] = NOSTR;
1325 return(hf);