]> git.ipfire.org Git - thirdparty/util-linux.git/blame - login-utils/auth.h
scriptreplay: cleanup usage()
[thirdparty/util-linux.git] / login-utils / auth.h
CommitLineData
d91ad6ab
CM
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 */
b04f7d0e
KZ
10#ifndef UTIL_LINUX_LOGIN_AUTH_H
11#define UTIL_LINUX_LOGIN_AUTH_H
d91ad6ab
CM
12
13#include <sys/types.h>
14
15extern int auth_pam(const char *service_name, uid_t uid, const char *username);
b04f7d0e
KZ
16
17#endif /* UTIL_LINUX_LOGIN_AUTH_H */