Changeset 50e3b3f in rtems


Ignore:
Timestamp:
05/25/05 11:33:47 (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d7610229
Parents:
d730986
Message:

2005-05-25 Ralf Corsepius <ralf.corsepius@…>

  • librpc/include/rpc/clnt.h: Partial update from FreeBSD.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rd730986 r50e3b3f  
     12005-05-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
     2
     3        * librpc/include/rpc/clnt.h: Partial update from FreeBSD.
     4
    152005-05-25  Ralf Corsepius  <ralf.corsepius@rtems.org>
    26
  • cpukit/librpc/include/rpc/clnt.h

    rd730986 r50e3b3f  
    113113/*
    114114 * Client rpc handle.
    115  * Created by individual implementations, see e.g. rpc_udp.c.
     115 * Created by individual implementations
    116116 * Client is responsible for initializing auth, see e.g. auth_none.c.
    117117 */
     
    215215#define CLGET_SERVER_ADDR   3   /* get server's address (sockaddr) */
    216216#define CLGET_FD            6   /* get connections file descriptor */
    217 #define CLGET_SVC_ADDR      7   /* get server's address (netbuf)         XXX */
     217#define CLGET_SVC_ADDR      7   /* get server's address (netbuf) */
    218218#define CLSET_FD_CLOSE      8   /* close fd while clnt_destroy */
    219219#define CLSET_FD_NCLOSE     9   /* Do not close fd while clnt_destroy */
     
    255255 */
    256256
    257 #define RPCTEST_PROGRAM         ((u_long)1)
    258 #define RPCTEST_VERSION         ((u_long)1)
    259 #define RPCTEST_NULL_PROC       ((u_long)2)
    260 #define RPCTEST_NULL_BATCH_PROC ((u_long)3)
     257#define RPCTEST_PROGRAM         ((rpcprog_t)1)
     258#define RPCTEST_VERSION         ((rpcvers_t)1)
     259#define RPCTEST_NULL_PROC       ((rpcproc_t)2)
     260#define RPCTEST_NULL_BATCH_PROC ((rpcproc_t)3)
    261261
    262262/*
     
    264264 */
    265265
    266 #define NULLPROC ((u_long)0)
     266#define NULLPROC ((rpcproc_t)0)
    267267
    268268/*
     
    382382 */
    383383__BEGIN_DECLS
    384 extern void clnt_pcreateerror   __P((char *));                  /* stderr */
    385 extern char *clnt_spcreateerror __P((char *));                  /* string */
     384extern void clnt_pcreateerror(char *);                  /* stderr */
     385extern char *clnt_spcreateerror(char *);                /* string */
    386386__END_DECLS
    387387
     
    390390 */
    391391__BEGIN_DECLS
    392 extern void clnt_perrno         __P((enum clnt_stat));          /* stderr */
    393 extern char *clnt_sperrno       __P((enum clnt_stat));          /* string */
     392extern void clnt_perrno(enum clnt_stat);                /* stderr */
     393extern char *clnt_sperrno(enum clnt_stat);              /* string */
    394394__END_DECLS
    395395
     
    398398 */
    399399__BEGIN_DECLS
    400 extern void clnt_perror         __P((CLIENT *, char *));        /* stderr */
    401 extern char *clnt_sperror       __P((CLIENT *, char *));        /* string */
     400extern void clnt_perror(CLIENT *, char *);              /* stderr */
     401extern char *clnt_sperror(CLIENT *, char *);            /* string */
    402402__END_DECLS
    403403
     
    417417#define RPCSMALLMSGSIZE 400     /* a more reasonable packet size */
    418418
    419 #endif /* !_RPC_CLNT_H */
     419/* For backward compatibility */
     420#include <rpc/clnt_soc.h>
     421
     422#endif /* !_RPC_CLNT_H_ */
Note: See TracChangeset for help on using the changeset viewer.