Changeset 2538e7ae in rtems for cpukit/librpc/include
- Timestamp:
- Feb 3, 2005, 4:26:35 PM (16 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f92f5f6
- Parents:
- 5b6111b
- Location:
- cpukit/librpc/include/rpc
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/librpc/include/rpc/rpc.h
r5b6111b r2538e7ae 1 /* $NetBSD: rpc.h,v 1.13 2000/06/02 22:57:56 fvdl Exp $ */ 2 1 3 /* 2 4 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for … … 29 31 * from: @(#)rpc.h 1.9 88/02/08 SMI 30 32 * from: @(#)rpc.h 2.4 89/07/11 4.0 RPCSRC 31 * $FreeBSD: src/include/rpc/rpc.h,v 1.1 2 2000/01/26 09:02:40 shinExp $33 * $FreeBSD: src/include/rpc/rpc.h,v 1.17 2002/03/23 17:24:55 imp Exp $ 32 34 */ 33 35 … … 66 68 #include <rpc/svc_auth.h> /* service side authenticator */ 67 69 68 /* 69 * COMMENT OUT THE NEXT INCLUDE (or add to the #ifndef) IF RUNNING ON 70 * A VERSION OF UNIX THAT USES SUN'S NFS SOURCE. These systems will 71 * already have the structures defined by <rpc/netdb.h> included in <netdb.h>. 72 */ 73 /* routines for parsing /etc/rpc */ 74 75 struct rpcent { 76 char *r_name; /* name of server for this rpc program */ 77 char **r_aliases; /* alias list */ 78 int r_number; /* rpc program number */ 79 }; 70 #include <rpc/rpcent.h> 80 71 81 72 __BEGIN_DECLS 82 extern struct rpcent *getrpcbyname __P((char *)); 83 extern struct rpcent *getrpcbynumber __P((int)); 84 extern struct rpcent *getrpcent __P((void)); 85 extern int getrpcport __P((char *host, int prognum, int versnum, int proto)); 86 extern void setrpcent __P((int)); 87 extern void endrpcent __P((void)); 88 89 extern int bindresvport __P((int, struct sockaddr_in *)); 90 extern int bindresvport_sa __P((int, struct sockaddr *)); 91 extern int get_myaddress __P((struct sockaddr_in *)); 73 extern int get_myaddress(struct sockaddr_in *); 74 extern int bindresvport(int, struct sockaddr_in *); 75 extern int bindresvport_sa(int, struct sockaddr *); 92 76 __END_DECLS 93 77
Note: See TracChangeset
for help on using the changeset viewer.