1*5a122e6eSmillert /* $OpenBSD: pwd.h,v 1.4 2018/09/13 12:31:15 millert Exp $ */ 246309870Sguenther /* 346309870Sguenther * Copyright (c) 2015 Philip Guenther <guenther@openbsd.org> 446309870Sguenther * 546309870Sguenther * Permission to use, copy, modify, and distribute this software for any 646309870Sguenther * purpose with or without fee is hereby granted, provided that the above 746309870Sguenther * copyright notice and this permission notice appear in all copies. 846309870Sguenther * 946309870Sguenther * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 1046309870Sguenther * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 1146309870Sguenther * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 1246309870Sguenther * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 1346309870Sguenther * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 1446309870Sguenther * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 1546309870Sguenther * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 1646309870Sguenther */ 1746309870Sguenther 1846309870Sguenther #ifndef _LIBC_PWD_H_ 1946309870Sguenther #define _LIBC_PWD_H_ 2046309870Sguenther 2146309870Sguenther #include_next <pwd.h> 2246309870Sguenther 2346309870Sguenther __BEGIN_HIDDEN_DECLS 2446309870Sguenther int _bcrypt_autorounds(void); 2546309870Sguenther __END_HIDDEN_DECLS 2646309870Sguenther 2746309870Sguenther 2846309870Sguenther PROTO_NORMAL(bcrypt); 2946309870Sguenther PROTO_NORMAL(bcrypt_checkpass); 3046309870Sguenther PROTO_DEPRECATED(bcrypt_gensalt); 3146309870Sguenther PROTO_NORMAL(bcrypt_newhash); 3246309870Sguenther PROTO_DEPRECATED(endpwent); 3346309870Sguenther PROTO_DEPRECATED(getpwent); 34cd245bcaSmillert PROTO_DEPRECATED(getpwnam); 3546309870Sguenther PROTO_NORMAL(getpwnam_r); 368a63353aStedu PROTO_NORMAL(getpwnam_shadow); 37cd245bcaSmillert PROTO_DEPRECATED(getpwuid); 3846309870Sguenther PROTO_NORMAL(getpwuid_r); 398a63353aStedu PROTO_NORMAL(getpwuid_shadow); 4046309870Sguenther PROTO_NORMAL(pw_dup); 4146309870Sguenther PROTO_NORMAL(setpassent); 4246309870Sguenther PROTO_DEPRECATED(setpwent); 43*5a122e6eSmillert PROTO_DEPRECATED(uid_from_user); 4446309870Sguenther PROTO_DEPRECATED(user_from_uid); 4546309870Sguenther 4646309870Sguenther #endif /* !_LIBC_PWD_H_ */ 47