--- embedaddon/sudo/plugins/sudoers/toke.h 2012/05/29 12:26:49 1.1.1.2 +++ embedaddon/sudo/plugins/sudoers/toke.h 2013/07/22 10:46:12 1.1.1.4 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011 Todd C. Miller + * Copyright (c) 2011-2013 Todd C. Miller * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -14,15 +14,16 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#ifndef _SUDO_TOKE_H -#define _SUDO_TOKE_H +#ifndef _SUDOERS_TOKE_H +#define _SUDOERS_TOKE_H bool append(const char *, int); bool fill_args(const char *, int, int); bool fill_cmnd(const char *, int); bool fill_txt(const char *, int, int); bool ipv6_valid(const char *s); -void yyerror(const char *); +int sudoers_trace_print(const char *msg); +void sudoerserror(const char *); #ifndef FLEX_SCANNER extern int (*trace_print)(const char *msg); @@ -38,4 +39,4 @@ extern int (*trace_print)(const char *msg); (*trace_print)(msg); \ } while (0); -#endif /* _SUDO_TOKE_H */ +#endif /* _SUDOERS_TOKE_H */