Searched refs:hostent (Results 1 - 25 of 258) sorted by relevance

1234567891011

/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.h7 extern struct hostent *
14 idn_stub_gethostbyname_r(const char *name, struct hostent *result,
16 struct hostent **rp, int *errp);
20 extern struct hostent *
21 idn_stub_gethostbyname_r(const char *name, struct hostent *result,
27 extern struct hostent *
34 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result,
36 struct hostent **rp, int *errp);
41 extern struct hostent *
49 struct hostent *resul
[all...]
H A Dstub.c169 struct hostent *
171 static struct hostent *(*fp)(const char *name);
182 struct hostent *
184 static struct hostent *(*fp)(const char *name, int af);
195 struct hostent *
197 static struct hostent *(*fp)(GHBA_ADDR_T name,
212 idn_stub_gethostbyname_r(const char *name, struct hostent *result,
214 struct hostent **rp, int *errp)
216 static int (*fp)(const char *name, struct hostent *result,
218 struct hostent **r
[all...]
H A Dresolver.c127 static struct hostent *copy_decode_hostent_static(struct hostent *hp,
128 struct hostent *newhp,
132 static struct hostent *copy_decode_hostent_dynamic(struct hostent *hp,
134 static void free_copied_hostent(struct hostent *hp);
217 static struct hostent *
218 copy_decode_hostent_static(struct hostent *hp, struct hostent *newhp,
222 * Copy "struct hostent" dat
[all...]
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/include/netinet/
H A Din.h4 struct hostent { struct
13 struct hostent *gethostbyname(const char *hnam);
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/
H A Dgethost.c26 * They use a struct hostent which is usually defined in <namedb.h>.
29 * struct hostent {
72 * Successful calls of the functions return a struct hostent for the name
80 * *error. resbuf is a pointer to a struct hostent which is initialised
83 * h_addr_list elements of the struct hostent returned in resbuf.
85 * pointer to the struct hostent it created.
92 * a struct hostent which is initialised by a successful call to
95 * struct hostent returned in resbuf. Successful calls to
97 * struct hostent it created.
128 * lwres_gethostbyaddr_r() return resbuf, a pointer to the struct hostent
[all...]
/macosx-10.9.5/curl-78.94.1/curl/lib/
H A Dhostip4.c132 struct hostent *h = NULL;
134 struct hostent *buf = NULL;
177 (struct hostent *)buf,
178 (char *)buf + sizeof(struct hostent),
179 CURL_HOSTENT_SIZE - sizeof(struct hostent),
196 (struct hostent *)buf,
197 (char *)buf + sizeof(struct hostent),
198 CURL_HOSTENT_SIZE - sizeof(struct hostent),
238 * call, but instead several of the pointers in the hostent structs will
255 (sizeof(struct hostent)
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dgetipnodebyaddr.c40 * to a malloced struct hostent or NULL.
43 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL
46 struct hostent *tmp;
H A Dgetipnodebyname.c44 * to a malloced struct hostent or NULL.
47 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL
50 struct hostent *tmp;
H A Dhostent_find_fqdn.c43 hostent_find_fqdn (const struct hostent *he)
H A Dfreehostent.c39 * free a malloced hostent
43 freehostent (struct hostent *h)
H A Dcopyhostent.c42 ROKEN_LIB_FUNCTION struct hostent * ROKEN_LIB_CALL
43 copyhostent (const struct hostent *h)
45 struct hostent *res;
/macosx-10.9.5/libpcap-42/libpcap/Win32/Include/net/
H A Dnetdb.h108 struct hostent *gethostent (void);
126 struct hostent *gethostbyaddr_r (const char *__addr,
128 struct hostent *__result,
130 struct hostent *gethostbyname_r (const char * __name,
131 struct hostent *__result, char *__buffer,
133 struct hostent *gethostent_r (struct hostent *__result,
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/
H A Dnetdb.h55 /* $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); /* Gets the local host's hostname. If (…)
1 /* $Copyright struct
/macosx-10.9.5/Libinfo-449.1.3/lookup.subproj/
H A Dlibinfo.h52 typedef void (*si_host_async_callback)(struct hostent *, void *context);
53 typedef void (*si_ipnode_async_callback)(struct hostent *, int32_t status, void *context);
H A Dnetdb.h112 struct hostent { struct
269 struct hostent *gethostbyaddr(const void *, socklen_t, int);
270 struct hostent *gethostbyname(const char *);
271 struct hostent *gethostent(void);
291 void freehostent(struct hostent *);
292 struct hostent *gethostbyname2(const char *, int);
293 struct hostent *getipnodebyaddr(const void *, size_t, int, int *);
294 struct hostent *getipnodebyname(const char *, int, int, int *);
H A Dnetdb_async.h86 typedef void (*gethostbyaddr_async_callback)(struct hostent *hent, void *context);
132 typedef void (*gethostbyname_async_callback)(struct hostent *hent, void *context);
177 typedef void (*getipnodebyaddr_async_callback)(struct hostent *hent, int error, void *context);
226 typedef void (*getipnodebyname_async_callback)(struct hostent *hent, int error, void *context);
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/wsock/wsock11/
H A Ddlldef.h72 extern struct hostent FAR * PASCAL
75 extern struct hostent FAR * PASCAL
/macosx-10.9.5/libpcap-42/libpcap/Win32/Include/
H A Dinetprivate.h44 extern struct hostent *_gethtent(void);
45 extern struct hostent *_gethtbyname(const char *name);
46 extern struct hostent *_gethtbyaddr(const char *addr, int len,
H A Daddrinfo.h83 extern void freehostent (struct hostent *);
89 extern struct hostent *getipnodebyaddr (const void *, size_t, int, int *);
90 extern struct hostent *getipnodebyname (const char *, int, int, int *);
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/win32/include/lwres/
H A Dnetdb.h414 struct hostent *lwres_gethostbyaddr(const char *, int, int);
415 struct hostent *lwres_gethostbyname(const char *);
416 struct hostent *lwres_gethostbyname2(const char *, int);
417 struct hostent *lwres_gethostent(void);
418 struct hostent *lwres_getipnodebyname(const char *, int, int, int *);
419 struct hostent *lwres_getipnodebyaddr(const void *, size_t, int, int *);
423 void lwres_freehostent(struct hostent *);
454 struct hostent *lwres_gethostbyaddr_r(const char *, int, int, struct hostent *,
456 struct hostent *lwres_gethostbyname_
[all...]
/macosx-10.9.5/tcpdump-56/tcpdump/missing/
H A Daddrinfo.h83 extern void freehostent (struct hostent *);
86 extern struct hostent *getipnodebyaddr (const void *, size_t, int, int *);
87 extern struct hostent *getipnodebyname (const char *, int, int, int *);
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/uwin/
H A Drlib.h52 extern struct hostent *_gethtent(void);
53 extern struct hostent *_gethtbyname(const char *name);
54 extern struct hostent *_gethtbyaddr(const char *addr, int len,
/macosx-10.9.5/Libinfo-449.1.3/rpc.subproj/
H A Dgetrpcport.c78 struct hostent *hp;
/macosx-10.9.5/ntp-88/libntp/
H A Dnumtohost.c25 struct hostent *hp;
/macosx-10.9.5/postfix-252/postfix/auxiliary/name-addr-test/
H A Dgethostbyname.c23 struct hostent *hp;

Completed in 311 milliseconds

1234567891011