2e55cce11de2dbe005b7db4c7f371da5db2e6867
[platform/upstream/glibc.git] / include / rpc / auth.h
1 #ifndef _RPC_AUTH_H
2 #include <sunrpc/rpc/auth.h>
3
4 # ifndef _ISOMAC
5
6 libc_hidden_proto (getnetname)
7 libc_hidden_proto (netname2user)
8 libc_hidden_proto (host2netname)
9 libc_hidden_proto (user2netname)
10 libc_hidden_proto (key_gendes)
11
12 /* Now define the internal interfaces.  */
13 struct key_netstarg;
14 extern int key_setnet (struct key_netstarg *arg);
15
16 #define DECLARE_NSS_PROTOTYPES(service)                                 \
17 extern enum nss_status _nss_ ##service ## _netname2user                 \
18                        (char netname[MAXNETNAMELEN + 1], uid_t *uidp,   \
19                         gid_t *gidp, int *gidlenp, gid_t *gidlist,      \
20                         int *errnop);
21
22 DECLARE_NSS_PROTOTYPES (nis)
23 DECLARE_NSS_PROTOTYPES (nisplus)
24
25 #undef DECLARE_NSS_PROTOTYPES
26
27 libc_hidden_proto (key_encryptsession_pk)
28 libc_hidden_proto (key_decryptsession_pk)
29
30 libc_hidden_proto (_null_auth)
31 libc_hidden_proto (authnone_create)
32 libc_hidden_proto (authunix_create)
33 libc_hidden_proto (authunix_create_default)
34 libc_hidden_proto (xdr_des_block)
35 libc_hidden_proto (xdr_opaque_auth)
36 libc_hidden_proto (authdes_create)
37 libc_hidden_proto (authdes_pk_create)
38 libc_hidden_proto (key_decryptsession)
39 libc_hidden_proto (key_encryptsession)
40 libc_hidden_proto (key_get_conv)
41 libc_hidden_proto (key_secretkey_is_set)
42 libc_hidden_proto (key_setnet)
43 libc_hidden_proto (key_setsecret)
44 libc_hidden_proto (netname2host)
45
46 # endif /* !_ISOMAC */
47 #endif