Imported Upstream version 1.7.0
[debian/sudo] / logging.h
index 77196fa471d07a44c678bfa9c497b68d6f57e8c8..b3f49412ecc82088fb2404437afee4f020b033be 100644 (file)
--- a/logging.h
+++ b/logging.h
@@ -1,5 +1,6 @@
 /*
- * 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
@@ -12,6 +13,8 @@
  * 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
@@ -34,6 +37,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,7 +49,8 @@
 # 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));