summaryrefslogtreecommitdiffstats
path: root/login-utils/logindefs.h
diff options
context:
space:
mode:
authorKarel Zak2012-02-28 11:16:16 +0100
committerKarel Zak2012-02-28 11:16:16 +0100
commit607e6b7ce8658e552fdffbb99c51cdb01828e27b (patch)
treeee07bcca5f4375c653c557104dbd8dcb42251d87 /login-utils/logindefs.h
parenttest: test 'none' source for mount(8) (diff)
downloadkernel-qcow2-util-linux-607e6b7ce8658e552fdffbb99c51cdb01828e27b.tar.gz
kernel-qcow2-util-linux-607e6b7ce8658e552fdffbb99c51cdb01828e27b.tar.xz
kernel-qcow2-util-linux-607e6b7ce8658e552fdffbb99c51cdb01828e27b.zip
login: support crazy shadow-utils syntax in login.defs
standard syntax for FOO=data: ENV_FOO data additional syntax: ENV_FOO FOO=data Reported-by: Colin Guthrie colin@mageia.org Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'login-utils/logindefs.h')
-rw-r--r--login-utils/logindefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/login-utils/logindefs.h b/login-utils/logindefs.h
index 37d19e1f7..163869dfd 100644
--- a/login-utils/logindefs.h
+++ b/login-utils/logindefs.h
@@ -5,5 +5,6 @@ extern int getlogindefs_bool(const char *name, int dflt);
extern 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);
#endif /* UTIL_LINUX_LOGINDEFS_H */