]> git.ipfire.org Git - thirdparty/util-linux.git/blob - login-utils/auth.h
login-utils: add header file guards [lgtm scan]
[thirdparty/util-linux.git] / login-utils / auth.h
1 /*
2 * auth.h -- PAM authorization code, common between chsh and chfn
3 * (c) 2012 by Cody Maloney <cmaloney@theoreticalchaos.com>
4 *
5 * this program is free software. you can redistribute it and
6 * modify it under the terms of the gnu general public license.
7 * there is no warranty.
8 *
9 */
10 #ifndef UTIL_LINUX_LOGIN_AUTH_H
11 #define UTIL_LINUX_LOGIN_AUTH_H
12
13 #include <sys/types.h>
14
15 extern int auth_pam(const char *service_name, uid_t uid, const char *username);
16
17 #endif /* UTIL_LINUX_LOGIN_AUTH_H */