/macosx-10.9.5/CPANInternal-140/Exporter-Easy/ |
H A D | bench | 20 our(@EXPORT) = qw(getservbyname getservbyport getservent getserv); 25 EXPORT => [qw(getservbyname getservbyport getservent getserv)], 34 @EXPORT = qw(getservbyname getservbyport getservent getserv); 42 @EXPORT = qw(getservbyname getservbyport getservent getserv); 51 @EXPORT = qw(getservbyname getservbyport getservent getserv); 58 EXPORT => [qw(getservbyname getservbyport getservent getserv)], 69 @EXPORT = qw(getservbyname getservbyport getservent getserv); 76 EXPORT => [qw(getservbyname getservbyport getservent getserv)],
|
/macosx-10.9.5/CPANInternal-140/Exporter-Easy-0.16/ |
H A D | bench | 20 our(@EXPORT) = qw(getservbyname getservbyport getservent getserv); 25 EXPORT => [qw(getservbyname getservbyport getservent getserv)], 34 @EXPORT = qw(getservbyname getservbyport getservent getserv); 42 @EXPORT = qw(getservbyname getservbyport getservent getserv); 51 @EXPORT = qw(getservbyname getservbyport getservent getserv); 58 EXPORT => [qw(getservbyname getservbyport getservent getserv)], 69 @EXPORT = qw(getservbyname getservbyport getservent getserv); 76 EXPORT => [qw(getservbyname getservbyport getservent getserv)],
|
/macosx-10.9.5/passwordserver_sasl-170/cyrus_sasl/mac/CommonKClient/mac_kclient3/Headers/KerberosSupport/ |
H A D | netdb.h | 101 /* $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 namelen isn't long enough, it puts in as much of
the name as possible, without a terminating null. This is done so it is compatible
with the unix version. This is, admittedly, the wrong way to write a code, but my
excuse is compatibility. It should really dynamically allocate space. Oh well.
It also assert()'s if you don't pass it a reasonably sized buffer. */
int gethostname(char *name, size_t namelen);
/* Opens the service database if needed and gets the next service entry.
Returns NULL if you have read them all. On error, returns NULL and
calls SetMITLibError(). */
struct servent *getservent (void);
/* Closes the service database. On error, calls SetMITLibError(). */
void endservent (void);
struct servent *getservbyname (const char *servname, const char *protname);
struct servent *getservbyport (int port, const char *protname);
#if !TARGET_RT_MAC_CFM
# pragma d0_pointers reset
#endif
#if (…)
|
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/ |
H A D | getnameinfo.c | 79 se = getservbyport (port, proto);
|
/macosx-10.9.5/Libinfo-449.1.3/lookup.subproj/ |
H A D | netdb.h | 282 struct servent *getservbyport(int, const char *);
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/queryperf/missing/ |
H A D | getnameinfo.c | 136 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
/macosx-10.9.5/rsync-42/rsync/lib/ |
H A D | getnameinfo.c | 126 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
/macosx-10.9.5/network_cmds-433/netstat.tproj/ |
H A D | inet6.c | 1125 (ret) = getservbyport((int)(port), "tcp");\ 1127 (ret) = getservbyport((int)(port), "udp");\ 1129 (ret) = getservbyport((int)(port), (proto));\
|
H A D | inet.c | 1154 sp = getservbyport((int)port, proto);
|
/macosx-10.9.5/bind9-45.100/bind9/lib/irs/ |
H A D | getnameinfo.c | 82 * service, and causes getservbyport() to be called with a second 94 * RFC3493, getservbyport(), 211 (sp = getservbyport(port, proto)) == NULL) {
|
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/ |
H A D | getnameinfo.c | 93 * service, and causes getservbyport() to be called with a second 105 * RFC2133, getservbyport(), 232 (sp = getservbyport(port, proto)) == NULL) {
|
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/win32/include/lwres/ |
H A D | netdb.h | 321 #define getservbyport lwres_getservbyport macro
|
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libnetbsd/ |
H A D | getnameinfo.c | 138 sp = getservbyport(port,
|
/macosx-10.9.5/ruby-104/ruby/ext/socket/ |
H A D | getnameinfo.c | 180 struct servent *sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
H A D | socket.c | 1092 * Socket.getservbyport(port [, protocol_name]) => service 1098 * Socket.getservbyport(80) #=> "www" 1099 * Socket.getservbyport(514, "tcp") #=> "shell" 1100 * Socket.getservbyport(514, "udp") #=> "syslog" 1119 sp = getservbyport((int)htons((uint16_t)portnum), protoname); 1978 rb_define_singleton_method(rb_cSocket, "getservbyport", sock_s_getservbyport, -1);
|
/macosx-10.9.5/tcpdump-56/tcpdump/missing/ |
H A D | getnameinfo.c | 154 sp = getservbyport(port,
|
/macosx-10.9.5/Libinfo-449.1.3/xcodescripts/ |
H A D | install_files.sh | 162 endservent.3 getservbyname.3 getservbyport.3 setservent.3
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | myaddrinfo.c | 670 if ((sp = getservbyport(ntohs(SOCK_ADDR_IN_PORT(sa)),
|
/macosx-10.9.5/bind9-45.100/bind9/lib/lwres/include/lwres/ |
H A D | netdb.h.in | 327 #define getservbyport lwres_getservbyport
|
/macosx-10.9.5/ruby-104/ruby/include/ruby/ |
H A D | win32.h | 687 #undef getservbyport macro 688 #define getservbyport(p, pr) rb_w32_getservbyport(p, pr) macro
|
/macosx-10.9.5/netcat-20/ |
H A D | netcat.c | 533 sv = getservbyport(
|
/macosx-10.9.5/network_cmds-433/ip6fw.tproj/ |
H A D | ip6fw.c | 174 se = getservbyport(htons(port), protocol);
|
/macosx-10.9.5/bind9-45.100/bind9/contrib/idn/idnkit-1.0-src/wsock/wsock11/ |
H A D | dllstub.c | 555 getservbyport(int a0, const char* a1) function 560 idnLogPrintf(idn_log_level_trace, "stub getservbyport() called\n"); 564 if ((p = GetProcAddress(DLLHANDLE, "getservbyport")) == NULL) { 565 FATAL("cannot find entry getservbyport (%d)\n", GetLastError());
|
/macosx-10.9.5/lsof-52/lsof/ |
H A D | print.c | 50 * from using getservbyport() to 635 * After PORTABTHRESH getservbyport() calls, call fill_porttab() once, 645 if ((se = getservbyport(htons(p), pr ? "udp" : "tcp")))
|
/macosx-10.9.5/zsh-60/zsh/Src/Modules/ |
H A D | zftp.c | 1770 zservp = getservbyport(port, "tcp");
|