X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=logging.h;h=c95423ed4ccdcc89d253af435ebd3aa22711de53;hb=0cff75c926202a9cf3a5b2c5467bb3b7e54645b4;hp=845d392388922f5be907d624c47bf0b941de2427;hpb=26b91e48d9297ef94e92d8501f12b1516096a940;p=debian%2Fsudo diff --git a/logging.h b/logging.h index 845d392..c95423e 100644 --- a/logging.h +++ b/logging.h @@ -1,5 +1,6 @@ /* - * Copyright (c) 1999, 2004 Todd C. Miller + * Copyright (c) 1999-2005, 2009 + * 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 @@ -34,6 +35,7 @@ #define USE_ERRNO 0x02 #define NO_MAIL 0x04 #define NO_EXIT 0x08 +#define NO_STDERR 0x10 /* * Maximum number of characters to log per entry. The syslogger @@ -45,8 +47,12 @@ # define MAXSYSLOGLEN 960 #endif -void log_auth __P((int, int)); -void log_error __P((int flags, const char *fmt, ...)); +void audit_success __P((char *[])); +void audit_failure __P((char *[], char const * const, ...)); +void log_allowed __P((int)); +void log_denial __P((int, int)); +void log_error __P((int flags, const char *fmt, ...)) + __printflike(2, 3); RETSIGTYPE reapchild __P((int)); #endif /* _LOGGING_H */