1*b4582755Sderaadt /* $OpenBSD: bsd_auth.h,v 1.2 2019/12/04 09:50:47 deraadt Exp $ */ 2753e8795Sguenther /* 3753e8795Sguenther * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 4753e8795Sguenther * 5753e8795Sguenther * Permission to use, copy, modify, and distribute this software for any 6753e8795Sguenther * purpose with or without fee is hereby granted, provided that the above 7753e8795Sguenther * copyright notice and this permission notice appear in all copies. 8753e8795Sguenther * 9753e8795Sguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10753e8795Sguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11753e8795Sguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12753e8795Sguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13753e8795Sguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14753e8795Sguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15753e8795Sguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16753e8795Sguenther */ 17753e8795Sguenther 18753e8795Sguenther #ifndef _LIBC_BSD_AUTH_H_ 19753e8795Sguenther #define _LIBC_BSD_AUTH_H_ 20753e8795Sguenther 21753e8795Sguenther #include_next <bsd_auth.h> 22753e8795Sguenther 23*b4582755Sderaadt __BEGIN_HIDDEN_DECLS 24*b4582755Sderaadt int _auth_validuser(const char *name); 25*b4582755Sderaadt __END_HIDDEN_DECLS 26*b4582755Sderaadt 27753e8795Sguenther PROTO_NORMAL(auth_approval); 28753e8795Sguenther PROTO_NORMAL(auth_call); 29753e8795Sguenther PROTO_NORMAL(auth_cat); 30753e8795Sguenther PROTO_NORMAL(auth_challenge); 31753e8795Sguenther PROTO_NORMAL(auth_check_change); 32753e8795Sguenther PROTO_NORMAL(auth_check_expire); 33753e8795Sguenther PROTO_NORMAL(auth_checknologin); 34753e8795Sguenther PROTO_NORMAL(auth_clean); 35753e8795Sguenther PROTO_NORMAL(auth_close); 36753e8795Sguenther PROTO_NORMAL(auth_clrenv); 37753e8795Sguenther PROTO_NORMAL(auth_clroption); 38753e8795Sguenther PROTO_NORMAL(auth_clroptions); 39753e8795Sguenther PROTO_NORMAL(auth_getitem); 40753e8795Sguenther PROTO_NORMAL(auth_getpwd); 41753e8795Sguenther PROTO_NORMAL(auth_getstate); 42753e8795Sguenther PROTO_NORMAL(auth_getvalue); 43753e8795Sguenther PROTO_NORMAL(auth_mkvalue); 44753e8795Sguenther PROTO_NORMAL(auth_open); 45753e8795Sguenther PROTO_NORMAL(auth_set_va_list); 46753e8795Sguenther PROTO_NORMAL(auth_setdata); 47753e8795Sguenther PROTO_NORMAL(auth_setenv); 48753e8795Sguenther PROTO_NORMAL(auth_setitem); 49753e8795Sguenther PROTO_NORMAL(auth_setoption); 50753e8795Sguenther PROTO_NORMAL(auth_setpwd); 51753e8795Sguenther PROTO_NORMAL(auth_setstate); 52753e8795Sguenther PROTO_NORMAL(auth_userchallenge); 53753e8795Sguenther PROTO_NORMAL(auth_usercheck); 54753e8795Sguenther PROTO_NORMAL(auth_userokay); 55753e8795Sguenther PROTO_NORMAL(auth_userresponse); 56753e8795Sguenther PROTO_NORMAL(auth_verify); 57753e8795Sguenther 58753e8795Sguenther #endif /* _LIBC_BSD_AUTH_H_ */ 59