Changeset 2538e7ae in rtems
- Timestamp:
- 02/03/05 16:26:35 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- f92f5f6
- Parents:
- 5b6111b
- Location:
- cpukit
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/ChangeLog
r5b6111b r2538e7ae 1 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org> 2 3 * librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h: 4 New (From FreeBSD). 5 * librpc/include/rpc/rpc.h: Partial update from FreeBSD. 6 * librpc/Makefile.am: Reflect changes above. 7 1 8 2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org> 2 9 -
cpukit/librpc/Makefile.am
r5b6111b r2538e7ae 12 12 include_rpcdir = $(includedir)/rpc 13 13 include_rpc_HEADERS = include/rpc/auth.h include/rpc/auth_des.h \ 14 include/rpc/auth_unix.h include/rpc/clnt.h include/rpc/des.h \ 15 include/rpc/des_crypt.h include/rpc/pmap_clnt.h include/rpc/pmap_prot.h \ 16 include/rpc/pmap_rmt.h include/rpc/rpc.h include/rpc/rpc_com.h \ 17 include/rpc/rpc_msg.h include/rpc/svc.h include/rpc/svc_auth.h \ 18 include/rpc/types.h include/rpc/xdr.h 14 include/rpc/auth_unix.h include/rpc/clnt.h include/rpc/clnt_stat.h \ 15 include/rpc/des.h include/rpc/des_crypt.h include/rpc/pmap_clnt.h \ 16 include/rpc/pmap_prot.h include/rpc/pmap_rmt.h include/rpc/rpc.h \ 17 include/rpc/rpc_com.h include/rpc/rpc_msg.h include/rpc/rpcent.h \ 18 include/rpc/svc.h include/rpc/svc_auth.h include/rpc/types.h \ 19 include/rpc/xdr.h 19 20 20 21 man_MANS = … … 117 118 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/clnt.h 118 119 120 $(PROJECT_INCLUDE)/rpc/clnt_stat.h: include/rpc/clnt_stat.h $(PROJECT_INCLUDE)/rpc/$(dirstamp) 121 $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/clnt_stat.h 122 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/clnt_stat.h 123 119 124 $(PROJECT_INCLUDE)/rpc/des.h: include/rpc/des.h $(PROJECT_INCLUDE)/rpc/$(dirstamp) 120 125 $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/des.h … … 149 154 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpc_msg.h 150 155 156 $(PROJECT_INCLUDE)/rpc/rpcent.h: include/rpc/rpcent.h $(PROJECT_INCLUDE)/rpc/$(dirstamp) 157 $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/rpcent.h 158 PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpcent.h 159 151 160 $(PROJECT_INCLUDE)/rpc/svc.h: include/rpc/svc.h $(PROJECT_INCLUDE)/rpc/$(dirstamp) 152 161 $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/svc.h -
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.