diff options
author | Ondrej Oprala | 2014-04-08 13:26:33 +0200 |
---|---|---|
committer | Karel Zak | 2014-05-15 13:55:59 +0200 |
commit | 78dd74508931a2990a20f973854e0749505fdea0 (patch) | |
tree | 19421097ccabbb7f14649764cfcdab552ac77677 /login-utils/logindefs.h | |
parent | lslogins: move to login-utils (diff) | |
download | kernel-qcow2-util-linux-78dd74508931a2990a20f973854e0749505fdea0.tar.gz kernel-qcow2-util-linux-78dd74508931a2990a20f973854e0749505fdea0.tar.xz kernel-qcow2-util-linux-78dd74508931a2990a20f973854e0749505fdea0.zip |
login: extract get_hushlogin_status
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'login-utils/logindefs.h')
-rw-r--r-- | login-utils/logindefs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/login-utils/logindefs.h b/login-utils/logindefs.h index c5ccbc91b..6a72762f4 100644 --- a/login-utils/logindefs.h +++ b/login-utils/logindefs.h @@ -8,5 +8,7 @@ extern unsigned long getlogindefs_num(const char *name, long dflt); extern const char *getlogindefs_str(const char *name, const char *dflt); extern void free_getlogindefs_data(void); extern int logindefs_setenv(const char *name, const char *conf, const char *dflt); +extern int effective_access(const char *path, int mode); +extern int get_hushlogin_status(struct passwd *pwd); #endif /* UTIL_LINUX_LOGINDEFS_H */ |