blob: 29759b4c632547d18c8036e90799eaa5a63b4b71 [file] [log] [blame] [edit]
// Copyright 2024 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
use num_enum::TryFromPrimitive;
#[derive(Copy, Clone, Debug, PartialEq, TryFromPrimitive)]
#[repr(u8)]
pub enum Facility {
Kern = 0,
User = 1,
Mail = 2,
Daemon = 3,
Auth = 4,
Syslog = 5,
Lpr = 6,
News = 7,
Uucp = 8,
Cron = 9,
Authpriv = 10,
Ftp = 11,
Ntp = 12,
Security = 13,
Console = 14,
SolarisCron = 15,
Local0 = 16,
Local1 = 17,
Local2 = 18,
Local3 = 19,
Local4 = 20,
Local5 = 21,
Local6 = 22,
Local7 = 23,
}