/macosx-10.9.5/Heimdal-323.92.1/lib/roken/ |
H A D | freehostent.c | 48 if (h->h_aliases != NULL) { 49 for (p = h->h_aliases; *p != NULL; ++p) 51 free (h->h_aliases);
|
H A D | copyhostent.c | 53 res->h_aliases = NULL; 62 for (n = 0, p = h->h_aliases; *p != NULL; ++p) 64 res->h_aliases = malloc ((n + 1) * sizeof(*res->h_aliases)); 65 if (res->h_aliases == NULL) { 70 res->h_aliases[i] = NULL; 72 res->h_aliases[i] = strdup (h->h_aliases[i]); 73 if (res->h_aliases[i] == NULL) {
|
H A D | hostent_find_fqdn.c | 49 for (h = (const char **)he->h_aliases; *h != NULL; ++h) {
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/include/netinet/ |
H A D | in.h | 6 char **h_aliases; /* alias list */ member in struct:hostent
|
/macosx-10.9.5/postfix-252/postfix/auxiliary/name-addr-test/ |
H A D | gethostbyname.c | 32 while (hp->h_aliases[0]) 33 printf("%s ", *hp->h_aliases++);
|
H A D | gethostbyaddr.c | 35 while (hp->h_aliases[0]) 36 printf("%s ", *hp->h_aliases++);
|
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/ |
H A D | gethost.c | 31 * char **h_aliases; // alias list 44 * \li h_aliases: 82 * length len bytes which is used to store the h_name, h_aliases, and 94 * used to store the h_name, h_aliases, and h_addr_list elements of the 131 * names referenced by the h_name, h_aliases, and h_addr_list elements of 310 for (i = 0; he->h_aliases[i]; i++, nptr++) { 311 len += strlen(he->h_aliases[i]) + 1; 352 hptr->h_aliases = ptr; 353 for (i = 0; he->h_aliases[i]; i++) { 354 n = strlen(he->h_aliases[ [all...] |
H A D | getipnode.c | 30 * char **h_aliases; // alias list 43 * \li h_aliases: 88 * and h_aliases is freed, as is the memory for the hostent structure 263 he.h_aliases = aliases; 264 he.h_aliases[0] = NULL; 479 cpp = he->h_aliases; 486 free(he->h_aliases); 858 cpp = he1->h_aliases; 872 cpp = he2->h_aliases; 944 he->h_aliases [all...] |
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ |
H A D | netdb.h | 58 /* $Copyright:
*
* Copyright 1998-2000 by the Massachusetts Institute of Technology.
*
* All rights reserved.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted,
* provided that the above copyright notice appear in all copies and that
* both that copyright notice and this permission notice appear in
* supporting documentation, and that the name of M.I.T. not be used in
* advertising or publicity pertaining to distribution of the software
* without specific, written prior permission. Furthermore if you modify
* this software you must label your software as modified software and not
* distribute it in such a fashion that it might be confused with the
* original MIT software. M.I.T. makes no representations about the
* suitability of this software for any purpose. It is provided "as is"
* without express or implied warranty.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
* WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
* MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* Individual source code files are copyright MIT, Cygnus Support,
* OpenVision, Oracle, Sun Soft, FundsXpress, and others.
*
* Project Athena, Athena, Athena MUSE, Discuss, Hesiod, Kerberos, Moira,
* and Zephyr are trademarks of the Massachusetts Institute of Technology
* (MIT). No commercial use of these trademarks may be made without prior
* written permission of MIT.
*
* "Commercial use" means use of a name in a product or other for-profit
* manner. It does NOT prevent a commercial firm from referring to the MIT
* trademarks in order to convey information (although in doing so,
* recognition of their trademark status should be given).
* $
*/
/* $Header: /Volumes/backup/dsmigrate/Dumps/../CVS/passwordserver_sasl/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/netdb.h,v 1.4 2005/01/10 19:10:48 snsimon Exp $ */
/* MIT Sockets Library
* netdb.h
* macdev@mit.edu
*/
#ifndef _NETDB_H
#define _NETDB_H
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
struct hostent
{
char *h_name; /* official (cannonical) name of host */
char **h_aliases; /* pointer to array of pointers of alias names */
int h_addrtype; /* host address type: (…) 1 /* $Copyright member in struct:hostent
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | gxbn_test.c | 39 c = he->h_aliases;
|
H A D | gxba_test.c | 39 c = he->h_aliases;
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | resolver.c | 225 * The domain names ('hp->h_name' and 'hp->h_aliases') are 238 if (hp->h_aliases != NULL) { 244 while (hp->h_aliases[naliases] != NULL) 247 newhp->h_aliases = (char **)buf; 326 if (hp->h_aliases != NULL) { 328 * Decode the names in h_aliases. 330 char **aliases = hp->h_aliases; 331 char **newaliases = newhp->h_aliases; 398 * The domain names ('hp->h_name' and 'hp->h_aliases') are 413 if (hp->h_aliases ! [all...] |
/macosx-10.9.5/Libinfo-449.1.3/lookup.subproj/ |
H A D | mdns_module.c | 283 if (string_equal(h->host.h_aliases[i], name)) { 290 h->host.h_aliases = (char **)reallocf(h->host.h_aliases, (h->alias_count+2) * sizeof(char *)); 291 if (h->host.h_aliases == NULL) { 296 h->host.h_aliases[h->alias_count] = name; 298 h->host.h_aliases[h->alias_count] = NULL; 334 char **aliases = h->host.h_aliases; 338 free(h->host.h_aliases); 339 h->host.h_aliases = NULL; 418 out = (si_item_t *)LI_ils_create("L4488s*44a", (unsigned long)si, CATEGORY_HOST_IPV4, 1, bb, 0LL, h.host.h_name, h.host.h_aliases, [all...] |
H A D | si_getaddrinfo.c | 1351 if (string_equal(name, h->host.h_aliases[i])) return 0; 1354 if (h->alias_count == 0) h->host.h_aliases = (char **)calloc(2, sizeof(char *)); 1355 else h->host.h_aliases = (char **)reallocf(h->host.h_aliases, (h->alias_count + 2) * sizeof(char *)); 1357 if (h->host.h_aliases == NULL) 1363 h->host.h_aliases[h->alias_count] = lower_case(name); 1365 h->host.h_aliases[h->alias_count] = NULL; 1406 aliases = h->host.h_aliases; 1410 free(h->host.h_aliases); 1413 h->host.h_aliases [all...] |
H A D | netdb.h | 114 char **h_aliases; /* alias list */ member in struct:hostent
|
H A D | file_module.c | 1285 char **tokens, **h_aliases, *null_alias; local 1329 h_aliases = NULL; 1330 if (ntokens > 2) h_aliases = &(tokens[2]); 1342 else if (h_aliases != NULL) 1344 for (i = 0; (h_aliases[i] != NULL) && (match == 0); i++) 1345 if (string_equal(name, h_aliases[i])) match = 1; 1363 if (h_aliases == NULL) h_aliases = &null_alias; 1367 item = (si_item_t *)LI_ils_create("L4488s*44a", (unsigned long)si, CATEGORY_HOST_IPV4, 1, va, vb, tokens[1], h_aliases, h_addrtype, h_length, h_addr_list); 1371 item = (si_item_t *)LI_ils_create("L4488s*44c", (unsigned long)si, CATEGORY_HOST_IPV6, 1, va, vb, tokens[1], h_aliases, h_addrtyp [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSWindows/mdnsNSP/ |
H A D | mdnsNSP.c | 1557 he->h_aliases = (char **)( dst - base ); 1900 for ( i = 0; node->m_host.h_aliases[i]; i++ ) 1902 if ( strstr( node->m_host.h_aliases[i], ".local" ) ) 1933 for ( i = 0; node->m_host.h_aliases[i]; i++ ) 1935 if ( strcmp( node->m_host.h_aliases[i], name ) == 0 ) 2034 if ( info->m_host.h_aliases ) 2038 for ( i = 0; info->m_host.h_aliases[i]; i++ ) 2040 free( info->m_host.h_aliases[i] ); 2043 free( info->m_host.h_aliases ); 2200 (*hInfo)->m_host.h_aliases [all...] |
/macosx-10.9.5/autofs-234/automountlib/ |
H A D | host_is_us.c | 361 for (aliasp = hostinfo->h_aliases; *aliasp != NULL; 385 for (aliasp = hostinfo->h_aliases; *aliasp != NULL; aliasp++)
|
H A D | ns_generic.c | 193 if (ent->h_aliases == NULL) 195 for (p = ent->h_aliases; *p != 0; p++) {
|
/macosx-10.9.5/tcl-102/tcl_ext/tclx/tclx/generic/ |
H A D | tclXsocket.c | 270 for (idx = 0; hostEntry->h_aliases [idx] != NULL; idx++) { 271 listObj = Tcl_NewStringObj (hostEntry->h_aliases [idx], -1);
|
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/libraries/libldap/ |
H A D | util-int.c | 678 if( src->h_aliases != NULL ) { 679 for( p = src->h_aliases; (*p) != NULL; p++ ) { 703 res->h_aliases = tp; 704 if ( src->h_aliases != NULL ) { 705 tbuf = cpy_aliases( &tp, tbuf, src->h_aliases );
|
/macosx-10.9.5/ntp-88/libntp/ |
H A D | machines.c | 44 host1->h_aliases = name; 58 host1->h_aliases = name;
|
/macosx-10.9.5/cups-372.4/cups/cups/ |
H A D | http-addr.c | 604 cg->hostent.h_aliases = NULL; 641 cg->hostent.h_aliases = NULL;
|
/macosx-10.9.5/tcl-102/tcl/tcl/unix/ |
H A D | tclUnixCompat.c | 611 copied = CopyArray(tgtPtr->h_aliases, -1, p, buflen - len); 615 tgtPtr->h_aliases = (copied > 0) ? (char **)p : NULL;
|
/macosx-10.9.5/tcl-102/tcl84/tcl/unix/ |
H A D | tclUnixCompat.c | 209 copied = CopyArray(tgtPtr->h_aliases, -1, p, buflen - len); 213 tgtPtr->h_aliases = (copied > 0) ? (char **)p : NULL;
|