Move sudoers locale callback function to locale.c and user it in
visudo and testsudoers.
This commit is contained in:
@@ -74,6 +74,7 @@ bool log_failure(int status, int flags);
|
||||
bool log_warning(int flags, const char *fmt, ...) __printflike(2, 3);
|
||||
bool log_warningx(int flags, const char *fmt, ...) __printflike(2, 3);
|
||||
bool sudoers_initlocale(const char *ulocale, const char *slocale);
|
||||
bool sudoers_locale_callback(const union sudo_defs_val *);
|
||||
int writeln_wrap(FILE *fp, char *line, size_t len, size_t maxlen);
|
||||
|
||||
#endif /* SUDOERS_LOGGING_H */
|
||||
|
Reference in New Issue
Block a user