Diff for /embedaddon/sudo/plugins/sudoers/toke.h between versions 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 2012/02/21 16:23:02 version 1.1.1.2, 2012/05/29 12:26:49
Line 17 Line 17
 #ifndef _SUDO_TOKE_H  #ifndef _SUDO_TOKE_H
 #define _SUDO_TOKE_H  #define _SUDO_TOKE_H
   
int append(const char *, int);bool append(const char *, int);
int fill_args(const char *, int, int);bool fill_args(const char *, int, int);
int fill_cmnd(const char *, int);bool fill_cmnd(const char *, int);
int fill_txt(const char *, int, int);bool fill_txt(const char *, int, int);
int ipv6_valid(const char *s);bool ipv6_valid(const char *s);
 void yyerror(const char *);  void yyerror(const char *);
   
 #ifndef FLEX_SCANNER  #ifndef FLEX_SCANNER
Line 33  extern int (*trace_print)(const char *msg); Line 33  extern int (*trace_print)(const char *msg);
 /* realloc() to size + COMMANDARGINC to make room for command args */  /* realloc() to size + COMMANDARGINC to make room for command args */
 #define COMMANDARGINC   64  #define COMMANDARGINC   64
   
#define LEXTRACE(msg)   do { \#define LEXTRACE(msg)   do {                                            \
    if (trace_print != NULL) \    if (trace_print != NULL)                                            \
        (*trace_print)(msg); \        (*trace_print)(msg);                                            \
 } while (0);  } while (0);
   
 #endif /* _SUDO_TOKE_H */  #endif /* _SUDO_TOKE_H */

Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>