/macosx-10.9.5/ksh-20/ksh/src/cmd/INIT/ |
H A D | nsl.c | 25 extern void* gethostbyname(); 30 return gethostbyname(0) == 0;
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/include/netinet/ |
H A D | in.h | 13 struct hostent *gethostbyname(const char *hnam);
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | resolver.h | 47 #undef gethostbyname macro 48 #define gethostbyname idn_resolver_gethostbyname macro
|
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/ |
H A D | getipnodebyname.c | 59 tmp = gethostbyname (name);
|
/macosx-10.9.5/Libinfo-449.1.3/rpc.subproj/ |
H A D | getrpcport.c | 80 if ((hp = gethostbyname(host)) == NULL)
|
H A D | clnt_generic.c | 94 h = gethostbyname(hostname);
|
/macosx-10.9.5/apache-786.1/httpd/support/ |
H A D | log_server_status.in | 41 $me=pack($sockaddr,&AF_INET,0,(gethostbyname($hostname))[4]); 42 $them=pack($sockaddr,&AF_INET,$port,(gethostbyname($host))[4]);
|
/macosx-10.9.5/postfix-252/postfix/auxiliary/name-addr-test/ |
H A D | gethostbyname.c | 2 * gethostbyname tester. compile with: 4 * cc -o gethostbyname gethostbyname.c (SunOS 4.x) 6 * cc -o gethostbyname gethostbyname.c -lnsl (SunOS 5.x) 8 * run as: gethostbyname hostname 29 if (hp = gethostbyname(argv[1])) {
|
/macosx-10.9.5/remote_cmds-41.90.1/talk.tproj/ |
H A D | get_addrs.c | 60 hp = gethostbyname(his_machine_name);
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ |
H A D | netdb.h | 82 /* $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: AF_INET or AF_INET6 */
int h_length; /* length of address: 4 or 16 */
char **h_addr_list; /* pointer to array of pointers with IPv4 or IPv6 addresses */
};
#define h_addr h_addr_list[0] /* first address in list */
struct servent
{
char *s_name; /* official service name */
char **s_aliases; /* alias list */
int s_port; /* port number, network-byte order */
char *s_proto; /* protocol to use */
};
#if defined(__CFM68K__) && !defined(__USING_STATIC_LIBS__)
# pragma import on
#endif
#if !TARGET_RT_MAC_CFM
# pragma d0_pointers on
#endif
struct hostent *gethostbyname(const char *hostname);
struct hostent *gethostbyaddr(const char *addr, size_t len, int family);
/ (…)
|
/macosx-10.9.5/postfix-252/postfix/src/local/ |
H A D | biff_notify.c | 68 if ((hp = gethostbyname("localhost")) == 0) {
|
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-SystemConfiguration/Examples/CallbackDemo/ |
H A D | interneton.py | 44 addr = socket.gethostbyname(sys.argv[1])
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-SystemConfiguration/Examples/CallbackDemo/ |
H A D | interneton.py | 44 addr = socket.gethostbyname(sys.argv[1])
|
/macosx-10.9.5/CPANInternal-140/URI/t/ |
H A D | heuristic.t | 44 if (gethostbyname("www.netscape.com")) {
|
/macosx-10.9.5/remote_cmds-41.90.1/ypset.tproj/ |
H A D | ypset.c | 119 if( (hp = gethostbyname (server)) != NULL ) { 170 hent = gethostbyname(optarg);
|
/macosx-10.9.5/Heimdal-323.92.1/appl/ftp/ftp/ |
H A D | ftp_locl.h | 121 struct hostent *gethostbyname(const char *);
|
/macosx-10.9.5/bind9-45.100/bind9/bin/tests/ |
H A D | gxbn_test.c | 69 he = gethostbyname(argv[1]); 70 print_he(he, h_errno, "gethostbyname", argv[1]);
|
/macosx-10.9.5/curl-78.94.1/curl/tests/server/ |
H A D | resolve.c | 111 /* gethostbyname() resolve */ 114 he = gethostbyname(host);
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/mac_lib/ |
H A D | xxx_client_mac_lib.c | 56 struct hostent *gethostbyname(const char *hnam) function
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/readme/ |
H A D | mac_testing_notes.c | 21 like realm of host and gethostbyname
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | find_inet.c | 69 if ((hp = gethostbyname(host)) == 0)
|
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-SystemConfiguration/PyObjCTest/ |
H A D | test_scnetwork.py | 8 socket.gethostbyname('www.python.org')
|
/macosx-10.9.5/xnu-2422.115.4/tools/tests/libMicro/ |
H A D | getsockname.c | 82 if ((host = gethostbyname("localhost")) == NULL) { 83 perror("gethostbyname");
|
H A D | listen.c | 85 if ((host = gethostbyname("localhost")) == NULL) { 86 perror("gethostbyname");
|
/macosx-10.9.5/Security-55471.14.18/include/security_utilities/ |
H A D | hosts.cpp | 130 if (hostent *he = gethostbyname(name)) {
|