2 #include <sunrpc/rpc/auth.h>
4 libc_hidden_proto (getnetname
)
5 libc_hidden_proto (netname2user
)
6 libc_hidden_proto (host2netname
)
7 libc_hidden_proto (user2netname
)
8 libc_hidden_proto (key_gendes
)
10 /* Now define the internal interfaces. */
12 extern int key_setnet (struct key_netstarg
*arg
);
14 #define DECLARE_NSS_PROTOTYPES(service) \
15 extern enum nss_status _nss_ ##service ## _netname2user \
16 (char netname[MAXNETNAMELEN + 1], uid_t *uidp, \
17 gid_t *gidp, int *gidlenp, gid_t *gidlist, \
20 DECLARE_NSS_PROTOTYPES (nis
)
21 DECLARE_NSS_PROTOTYPES (nisplus
)
23 #undef DECLARE_NSS_PROTOTYPES
25 extern bool_t
xdr_des_block_internal (XDR
*__xdrs
, des_block
*__blkp
)
27 extern bool_t
xdr_opaque_auth_internal (XDR
*, struct opaque_auth
*)
30 extern AUTH
*authunix_create_internal (char *__machname
, __uid_t __uid
,
31 __gid_t __gid
, int __len
,
32 __gid_t
*__aup_gids
) attribute_hidden
;
33 extern AUTH
*authunix_create_default_internal (void) attribute_hidden
;
34 extern AUTH
*authnone_create_internal (void) attribute_hidden
;
35 extern AUTH
*authdes_pk_create_internal (const char *, netobj
*, u_int
,
37 des_block
*) attribute_hidden
;
39 libc_hidden_proto (key_encryptsession_pk
)
40 libc_hidden_proto (key_decryptsession_pk
)
42 libc_hidden_proto (_null_auth
)