xref: /openbsd/lib/libc/hidden/bsd_auth.h (revision 905646f0)
1 /*	$OpenBSD: bsd_auth.h,v 1.2 2019/12/04 09:50:47 deraadt Exp $	*/
2 /*
3  * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef _LIBC_BSD_AUTH_H_
19 #define _LIBC_BSD_AUTH_H_
20 
21 #include_next <bsd_auth.h>
22 
23 __BEGIN_HIDDEN_DECLS
24 int _auth_validuser(const char *name);
25 __END_HIDDEN_DECLS
26 
27 PROTO_NORMAL(auth_approval);
28 PROTO_NORMAL(auth_call);
29 PROTO_NORMAL(auth_cat);
30 PROTO_NORMAL(auth_challenge);
31 PROTO_NORMAL(auth_check_change);
32 PROTO_NORMAL(auth_check_expire);
33 PROTO_NORMAL(auth_checknologin);
34 PROTO_NORMAL(auth_clean);
35 PROTO_NORMAL(auth_close);
36 PROTO_NORMAL(auth_clrenv);
37 PROTO_NORMAL(auth_clroption);
38 PROTO_NORMAL(auth_clroptions);
39 PROTO_NORMAL(auth_getitem);
40 PROTO_NORMAL(auth_getpwd);
41 PROTO_NORMAL(auth_getstate);
42 PROTO_NORMAL(auth_getvalue);
43 PROTO_NORMAL(auth_mkvalue);
44 PROTO_NORMAL(auth_open);
45 PROTO_NORMAL(auth_set_va_list);
46 PROTO_NORMAL(auth_setdata);
47 PROTO_NORMAL(auth_setenv);
48 PROTO_NORMAL(auth_setitem);
49 PROTO_NORMAL(auth_setoption);
50 PROTO_NORMAL(auth_setpwd);
51 PROTO_NORMAL(auth_setstate);
52 PROTO_NORMAL(auth_userchallenge);
53 PROTO_NORMAL(auth_usercheck);
54 PROTO_NORMAL(auth_userokay);
55 PROTO_NORMAL(auth_userresponse);
56 PROTO_NORMAL(auth_verify);
57 
58 #endif /* _LIBC_BSD_AUTH_H_ */
59