structstd.c.openbsd.AUTH[src]

Values

ConstantOKAY[src]

Source Code

Source code
pub const OKAY: c_int = 0x01

ConstantROOTOKAY[src]

Source Code

Source code
pub const ROOTOKAY: c_int = 0x02

ConstantSECURE[src]

Source Code

Source code
pub const SECURE: c_int = 0x04

ConstantSILENT[src]

Source Code

Source code
pub const SILENT: c_int = 0x08

ConstantCHALLENGE[src]

Source Code

Source code
pub const CHALLENGE: c_int = 0x10

ConstantEXPIRED[src]

Source Code

Source code
pub const EXPIRED: c_int = 0x20

ConstantPWEXPIRED[src]

Source Code

Source code
pub const PWEXPIRED: c_int = 0x40

ConstantALLOW[src]

Source Code

Source code
pub const ALLOW: c_int = (OKAY | ROOTOKAY | SECURE)

Source Code

Source code
pub const AUTH = struct {
    pub const OKAY: c_int = 0x01; // user authenticated
    pub const ROOTOKAY: c_int = 0x02; // authenticated as root
    pub const SECURE: c_int = 0x04; // secure login
    pub const SILENT: c_int = 0x08; // silent rejection
    pub const CHALLENGE: c_int = 0x10; // a challenge was given
    pub const EXPIRED: c_int = 0x20; // account expired
    pub const PWEXPIRED: c_int = 0x40; // password expired
    pub const ALLOW: c_int = (OKAY | ROOTOKAY | SECURE);
}