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

/osnet-11/usr/src/cmd/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);
/osnet-11/usr/src/cmd/sendmail/src/
H A Ddaemon.c99 ** host_map_lookup(map, hbuf, avp, pstat)
100 ** Convert the entry in hbuf into a canonical form.
3413 static char hbuf[MAXNAME + MAXAUTHINFO + 11]; local
3432 (void) sm_strlcpyn(hbuf, sizeof(hbuf), 2, RealUserName,
3435 sm_dprintf("getauthinfo: %s\n", hbuf);
3436 return hbuf;
3703 (void) sm_strlcpy(hbuf, "IDENT:", sizeof(hbuf));
3704 cleanstrcpy(&hbuf[
3933 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); )
1107 char hbuf[MAXNAME + 1]; local
1138 name = hbuf;
1139 (void) sm_snprintf(hbuf, sizeof(hbuf), "%.80s", RealHostName);
1142 p = &hbuf[strlen(hbuf)];
[all...]
H A Dparseaddr.c1966 char hbuf[MAXNAME + 1]; local
1979 hbuf[0] = '\0';
2034 cataddr(hostp, tv - 1, hbuf, sizeof(hbuf), '\0', false);
2050 a->q_host = sm_rpool_strdup_x(e->e_rpool, hbuf);
2051 if (strchr(hbuf, '.') != NULL)
2054 hbuf);
2055 setstat(dsntoexitstat(hbuf));
2057 else if (isascii(hbuf[0]) && isdigit(hbuf[
[all...]
H A Dconf.c4302 char hbuf[MAXNAME]; local
4334 if (strlen(name) > sizeof(hbuf) - 1)
4339 (void) sm_strlcpy(hbuf, name, sizeof(hbuf));
4340 (void) shorten_hostname(hbuf);
4343 if (strcmp(hbuf, name) != 0)
4347 hbuf, family);
4350 h = sm_getipnodebyname(hbuf, family, flags, &err);
4354 h = gethostbyname(hbuf);
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h219 char *hbuf, size_t hbuflen,
/osnet-11/usr/src/lib/libshell/common/edit/
H A Demacs.c1173 char hbuf[MAXLINE]; local
1175 strcpy(hbuf, "Current command ");
1176 strcat(hbuf, itos(hline));
1179 strcat(hbuf, " (line ");
1180 strcat(hbuf, itos(hloff+1));
1181 strcat(hbuf, ")");
1186 strcat(hbuf, "; Previous command ");
1187 strcat(hbuf, itos(location.hist_command));
1190 strcat(hbuf, " (line ");
1191 strcat(hbuf, ito
[all...]
/osnet-11/usr/src/lib/libresolv/
H A Dres_gethost.c317 char **a, hbuf[MAXHOSTNAMELEN]; local
324 (void) strcpy(hbuf, hp->h_name);
327 if ((hp2 = res_gethostbyname(hbuf)) != (struct hostent *)NULL)
340 syslog(LOG_NOTICE, "gethostbyaddr: %s != %s", hbuf,
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_send.c1151 char hbuf[NI_MAXHOST]; local
1157 if (getnameinfo(address, alen, hbuf, sizeof(hbuf),
1159 strncpy(hbuf, "?", sizeof(hbuf) - 1);
1160 hbuf[sizeof(hbuf) - 1] = '\0';
1165 string, hbuf, sbuf, strerror(error));
/osnet-11/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c133 char hbuf[NI_MAXHOST]; local
153 hbuf[i++] = *p;
164 hbuf[i] = addr[i];
177 hbuf[i] = '\0';
190 hbuf[i] = addr[i];
192 hbuf[i] = '\0';
210 if (getaddrinfo(hbuf, p, &hints, &ai) != 0) {
212 if (getaddrinfo(hbuf, &addr[i], &hints, &ai) != 0) {
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcommon.c2286 char hbuf[NI_MAXHOST], pbuf[NI_MAXSERV];
2290 getnameinfo(addr, addrlen, hbuf, sizeof(hbuf), pbuf, sizeof(pbuf),
2293 if(outlen < strlen(hbuf) + strlen(pbuf) + 2)
2296 snprintf(out, outlen, "%s;%s", hbuf, pbuf);
2322 char hbuf[NI_MAXHOST]; local
2340 hbuf[i++] = *p;
2352 hbuf[i] = addr[i];
2362 hbuf[i] = addr[i];
2373 hbuf[
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/prldap/
H A Dldappr-io.c384 char *host, hbuf[ PR_NETDB_BUF_SIZE ]; local
424 PRLDAP_DEFAULT_ADDRESS_FAMILY, PR_AI_DEFAULT | PR_AI_ALL, hbuf,
425 sizeof( hbuf ), &hent )) {
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c551 GETHOSTBYNAME_BUF_T hbuf; local
569 if (( hp = GETHOSTBYNAME( host, &hent, hbuf,
570 sizeof(hbuf), &err )) != NULL ) {
578 /* avoid allocation by using hbuf if large enough */
579 if ( sizeof( hbuf ) < ld->ld_dns_bufsize ) {
583 ldhpbuf = (char *)hbuf;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c1386 char *hbuf, size_t hbuflen,
1390 return getnameinfo(sa, salen, hbuf, hbuflen, sbuf, sbuflen, flags);
1385 krb5int_getnameinfo(const struct sockaddr *sa, socklen_t salen, char *hbuf, size_t hbuflen, char *sbuf, size_t sbuflen, int flags) argument

Completed in 77 milliseconds