mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-27 03:41:23 +08:00
e4aced47ae
* posix/bsd-getpgrp.c: Add prototype to avoid warning. * sunrpc/svc_unix.c: Include <rpc/svc.h> for prototypes. * sunrpc/create_xid.c: Include <rpc/svc.h> for prototypes. * include/rpc/rpc_msg.h: Add prototypes for some functions. * include/rpc/auth.h: Likewise. * include/rpc/auth_des.h: Likewise. * include/rpc/clnt.h: Likewise. * include/rpc/rpc.h: Likewise. * include/rpc/svc.h: Likewise. * include/rpc/svc_auth.h: Likewise. * include/rpc/des_crypt.h: New file.
15 lines
453 B
C
15 lines
453 B
C
#ifndef _RPC_SVC_H
|
|
#include <sunrpc/rpc/svc.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
extern int registerrpc (u_long prognum, u_long versnum, u_long procnum,
|
|
char *(*progname) (char *), xdrproc_t inproc,
|
|
xdrproc_t outproc);
|
|
|
|
extern SVCXPRT *svcfd_create (int fd, u_int sendsize, u_int recvsize);
|
|
|
|
extern int svcudp_enablecache (SVCXPRT *transp, u_long size);
|
|
extern SVCXPRT *svcunixfd_create (int fd, u_int sendsize, u_int recvsize);
|
|
|
|
#endif
|