def clear(flag): flags = _libsmi.smiGetFlags() flags &= ~(flag & SMI_FLAG_MASK) _libsmi.smiSetFlags(flags)
def set_flags(*flags): newflag = 0 for flag in flags: newflag |= (flag & SMI_FLAG_MASK) _libsmi.smiSetFlags(newflag)
def set(flag): flags = _libsmi.smiGetFlags() flags |= (flag & SMI_FLAG_MASK) _libsmi.smiSetFlags(flags)
def smiSetFlags(*args) -> "void" : return _libsmi.smiSetFlags(*args)
def smiSetFlags(*args) -> "void": return _libsmi.smiSetFlags(*args)