2011-10-05 05:10:26 -05:00
|
|
|
#ifndef UTIL_LINUX_LOGINDEFS_H
|
|
|
|
#define UTIL_LINUX_LOGINDEFS_H
|
|
|
|
|
2012-05-25 03:54:23 -05:00
|
|
|
extern void logindefs_load_file(const char *filename);
|
|
|
|
extern void (*logindefs_load_defaults)(void);
|
2011-10-05 05:10:26 -05:00
|
|
|
extern int getlogindefs_bool(const char *name, int dflt);
|
2012-06-02 04:57:42 -05:00
|
|
|
extern unsigned long getlogindefs_num(const char *name, long dflt);
|
2011-10-05 05:10:26 -05:00
|
|
|
extern const char *getlogindefs_str(const char *name, const char *dflt);
|
|
|
|
extern void free_getlogindefs_data(void);
|
2012-02-28 04:16:16 -06:00
|
|
|
extern int logindefs_setenv(const char *name, const char *conf, const char *dflt);
|
2014-04-08 06:26:33 -05:00
|
|
|
extern int effective_access(const char *path, int mode);
|
2014-04-07 11:24:19 -05:00
|
|
|
extern int get_hushlogin_status(struct passwd *pwd, int force_check);
|
2011-10-05 05:10:26 -05:00
|
|
|
|
|
|
|
#endif /* UTIL_LINUX_LOGINDEFS_H */
|