alloca: fix buf interaction
[glibc.git] / include / rpc / auth.h
blob0219fd93161a996370e3bde62e33fdcf3be02635
1 #ifndef _RPC_AUTH_H
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. */
11 struct key_netstarg;
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, \
18 int *errnop);
20 DECLARE_NSS_PROTOTYPES (nis)
21 DECLARE_NSS_PROTOTYPES (nisplus)
23 #undef DECLARE_NSS_PROTOTYPES
25 libc_hidden_proto (key_encryptsession_pk)
26 libc_hidden_proto (key_decryptsession_pk)
28 libc_hidden_proto (_null_auth)
29 libc_hidden_proto (authnone_create)
30 libc_hidden_proto (authunix_create)
31 libc_hidden_proto (authunix_create_default)
32 libc_hidden_proto (xdr_des_block)
33 libc_hidden_proto (xdr_opaque_auth)
34 libc_hidden_proto (authdes_create)
35 libc_hidden_proto (authdes_pk_create)
36 libc_hidden_proto (key_decryptsession)
37 libc_hidden_proto (key_encryptsession)
38 libc_hidden_proto (key_get_conv)
39 libc_hidden_proto (key_secretkey_is_set)
40 libc_hidden_proto (key_setnet)
41 libc_hidden_proto (key_setsecret)
42 libc_hidden_proto (netname2host)
44 #endif