Searched refs:hbuf (Results 1 - 6 of 6) sorted by relevance

/sendmail/sendmail/
H A Dsasl.c249 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV]; local
267 hbuf, sizeof(hbuf), pbuf, sizeof(pbuf), niflags) != 0)
275 if (sm_strlcpy(hbuf, inet_ntoa(addr->sin.sin_addr), sizeof(hbuf))
276 >= sizeof(hbuf))
284 if (outlen < strlen(hbuf) + strlen(pbuf) + 2)
289 sm_snprintf(out, outlen, "%s;%s", hbuf, pbuf);
H A Ddaemon.c99 ** host_map_lookup(map, hbuf, avp, pstat)
100 ** Convert the entry in hbuf into a canonical form.
3414 static char hbuf[MAXNAME + MAXAUTHINFO + 11]; local
3433 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3436 sm_dprintf("getauthinfo: %s\n", hbuf);
3437 return hbuf;
3704 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3705 cleanstrcpy(&hbuf[
3934 char hbuf[MAXNAME + 1]; local
[all...]
H A Dheaders.c201 char hbuf[50]; local
203 (void) expand(fvalue, hbuf, sizeof(hbuf), e);
204 for (p = hbuf; isascii(*p) && isspace(*p); )
1121 char hbuf[MAXNAME + 1]; local
1152 name = hbuf;
1153 (void) sm_snprintf(hbuf, sizeof(hbuf), "%.80s", RealHostName);
1156 p = &hbuf[strlen(hbuf)];
[all...]
H A Dparseaddr.c1967 char hbuf[MAXNAME + 1]; local
1980 hbuf[0] = '\0';
2035 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false);
2051 a->q_host = sm_rpool_strdup_x(e->e_rpool, hbuf);
2052 if (strchr(hbuf, '.') != NULL)
2055 hbuf);
2056 setstat(dsntoexitstat(hbuf));
2058 else if (isascii(hbuf[0]) && isdigit(hbuf[
[all...]
H A Dconf.c4334 char hbuf[MAXNAME]; local
4366 if (strlen(name) > sizeof(hbuf) - 1)
4371 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4372 (void) shorten_hostname(hbuf);
4375 if (strcmp(hbuf, name) != 0)
4379 hbuf, family);
4382 h = sm_getipnodebyname(hbuf, family, flags, &err);
4386 h = gethostbyname(hbuf);
/sendmail/libmilter/
H A Dexample.c52 char hbuf[1024]; local
74 snprintf(hbuf, sizeof hbuf, "%s@%s", p, host);
75 smfi_addheader(ctx, "X-Archived", hbuf);

Completed in 227 milliseconds