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.
20 lines
510 B
C
20 lines
510 B
C
#ifndef _RPC_AUTH_H
|
|
#include <sunrpc/rpc/auth.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
struct key_netstarg;
|
|
extern int key_setnet (struct key_netstarg *arg);
|
|
|
|
#define DECLARE_NSS_PROTOTYPES(service) \
|
|
extern enum nss_status _nss_ ##service ## _netname2user \
|
|
(char netname[MAXNETNAMELEN + 1], uid_t *uidp, \
|
|
gid_t *gidp, int *gidlenp, gid_t *gidlist, \
|
|
int *errnop);
|
|
|
|
DECLARE_NSS_PROTOTYPES (nis)
|
|
DECLARE_NSS_PROTOTYPES (nisplus)
|
|
|
|
#undef DECLARE_NSS_PROTOTYPES
|
|
|
|
#endif
|