Changeset View
Changeset View
Standalone View
Standalone View
log.h
/* $OpenBSD: log.h,v 1.23 2018/07/27 12:03:17 markus Exp $ */ | /* $OpenBSD: log.h,v 1.24 2019/09/06 04:53:27 djm Exp $ */ | ||||
/* | /* | ||||
* Author: Tatu Ylonen <ylo@cs.hut.fi> | * Author: Tatu Ylonen <ylo@cs.hut.fi> | ||||
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | ||||
* All rights reserved | * All rights reserved | ||||
* | * | ||||
* As far as I am concerned, the code I have written for this software | * As far as I am concerned, the code I have written for this software | ||||
* can be used freely for any purpose. Any derived versions of this | * can be used freely for any purpose. Any derived versions of this | ||||
* software must be clearly marked as such, and if the derived work is | * software must be clearly marked as such, and if the derived work is | ||||
* incompatible with the protocol description in the RFC file, it must be | * incompatible with the protocol description in the RFC file, it must be | ||||
* called by a name other than "ssh" or "Secure Shell". | * called by a name other than "ssh" or "Secure Shell". | ||||
*/ | */ | ||||
#ifndef SSH_LOG_H | #ifndef SSH_LOG_H | ||||
#define SSH_LOG_H | #define SSH_LOG_H | ||||
#include <stdarg.h> /* va_list */ | |||||
/* Supported syslog facilities and levels. */ | /* Supported syslog facilities and levels. */ | ||||
typedef enum { | typedef enum { | ||||
SYSLOG_FACILITY_DAEMON, | SYSLOG_FACILITY_DAEMON, | ||||
SYSLOG_FACILITY_USER, | SYSLOG_FACILITY_USER, | ||||
SYSLOG_FACILITY_AUTH, | SYSLOG_FACILITY_AUTH, | ||||
#ifdef LOG_AUTHPRIV | #ifdef LOG_AUTHPRIV | ||||
SYSLOG_FACILITY_AUTHPRIV, | SYSLOG_FACILITY_AUTHPRIV, | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |