Changeset 2538e7ae in rtems for cpukit/librpc


Ignore:
Timestamp:
Feb 3, 2005, 4:26:35 PM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
f92f5f6
Parents:
5b6111b
Message:

2005-02-03 Ralf Corsepius <ralf.corsepius@…>

  • librpc/include/rpc/clnt_stat.h, librpc/include/rpc/rpcent.h: New (From FreeBSD).
  • librpc/include/rpc/rpc.h: Partial update from FreeBSD.
  • librpc/Makefile.am: Reflect changes above.
Location:
cpukit/librpc
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/librpc/Makefile.am

    r5b6111b r2538e7ae  
    1212include_rpcdir = $(includedir)/rpc
    1313include_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
    1920
    2021man_MANS =
     
    117118PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/clnt.h
    118119
     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
     122PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/clnt_stat.h
     123
    119124$(PROJECT_INCLUDE)/rpc/des.h: include/rpc/des.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
    120125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/des.h
     
    149154PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpc_msg.h
    150155
     156$(PROJECT_INCLUDE)/rpc/rpcent.h: include/rpc/rpcent.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
     157        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rpc/rpcent.h
     158PREINSTALL_FILES += $(PROJECT_INCLUDE)/rpc/rpcent.h
     159
    151160$(PROJECT_INCLUDE)/rpc/svc.h: include/rpc/svc.h $(PROJECT_INCLUDE)/rpc/$(dirstamp)
    152161        $(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
    13/*
    24 * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
     
    2931 *      from: @(#)rpc.h 1.9 88/02/08 SMI
    3032 *      from: @(#)rpc.h 2.4 89/07/11 4.0 RPCSRC
    31  * $FreeBSD: src/include/rpc/rpc.h,v 1.12 2000/01/26 09:02:40 shin Exp $
     33 * $FreeBSD: src/include/rpc/rpc.h,v 1.17 2002/03/23 17:24:55 imp Exp $
    3234 */
    3335
     
    6668#include <rpc/svc_auth.h>       /* service side authenticator */
    6769
    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>
    8071
    8172__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 *));
     73extern int get_myaddress(struct sockaddr_in *);
     74extern int bindresvport(int, struct sockaddr_in *);
     75extern int bindresvport_sa(int, struct sockaddr *);
    9276__END_DECLS
    9377
Note: See TracChangeset for help on using the changeset viewer.