log.h (51096383) log.h (5d19626a)
1/* $OpenBSD: log.h,v 1.12 2006/03/25 22:22:43 djm Exp $ */
1/* $OpenBSD: log.h,v 1.13 2006/07/10 16:37:36 stevesk Exp $ */
2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
13 */
14
15#ifndef SSH_LOG_H
16#define SSH_LOG_H
17
2
3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
7 *
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
13 */
14
15#ifndef SSH_LOG_H
16#define SSH_LOG_H
17
18#include <stdarg.h>
19
18#include <syslog.h> /* Needed for LOG_AUTHPRIV (if present) */
19
20/* Supported syslog facilities and levels. */
21typedef enum {
22 SYSLOG_FACILITY_DAEMON,
23 SYSLOG_FACILITY_USER,
24 SYSLOG_FACILITY_AUTH,
25#ifdef LOG_AUTHPRIV

--- 41 unchanged lines hidden ---
20#include <syslog.h> /* Needed for LOG_AUTHPRIV (if present) */
21
22/* Supported syslog facilities and levels. */
23typedef enum {
24 SYSLOG_FACILITY_DAEMON,
25 SYSLOG_FACILITY_USER,
26 SYSLOG_FACILITY_AUTH,
27#ifdef LOG_AUTHPRIV

--- 41 unchanged lines hidden ---