/*
- * Copyright (c) 1999, 2004 Todd C. Miller <Todd.Miller@courtesan.com>
+ * Copyright (c) 1999-2005, 2008
+ * Todd C. Miller <Todd.Miller@courtesan.com>
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * $Sudo: logging.h,v 1.13 2008/11/09 14:13:12 millert Exp $
*/
#ifndef _LOGGING_H
#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
# define MAXSYSLOGLEN 960
#endif
-void log_auth __P((int, int));
+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));