tnc_compliance_options.h

来自「linux 下通过802.1认证的安装包」· C头文件 代码 · 共 29 行

H
29
字号
/**
 *
 * Licensed under a dual GPL/BSD license.  (See LICENSE file for more info.)
 *
 * \author chris@open1x.org
 *
 * $Id: tnc_compliance_options.h,v 1.1.2.3 2008/01/21 22:51:50 chessing Exp $
 * $Date: 2008/01/21 22:51:50 $
 **/

#ifndef __TNC_COMPLIANCE_OPTIONS_H__
#define __TNC_COMPLIANCE_OPTIONS_H__

/** NOTE: Just because these settings are here doesn't mean the supplicant can actually
 *        do any of this stuff.   It is all defined so that compliance modules can use 
 *        these values to do the right thing when asked to do so.  In order for any of these
 *        to do anything, you will need a third party module.
 */
#define TNC_COMPLIANCE_ENABLE              0x00000001   ///< Should compliance checking be enabled?  (If not, then other flags should be ignored.)
#define TNC_COMPLIANCE_PERSONALITY_CHECK   0x00000002   ///< Should we check for the "personality" of the machine?  (OS, supplicant, etc.)
#define TNC_COMPLIANCE_FIREWALL_CHECK      0x00000004   ///< Should we check if a firewall is enabled?
#define TNC_COMPLIANCE_ANTI_SPYWARE_CHECK  0x00000008   ///< Should we check if anti-spyware software is enabled?
#define TNC_COMPLIANCE_ANTI_VIRUS_CHECK    0x00000010   ///< Should we check if anti-virus software is enabled?
#define TNC_COMPLIANCE_ANTI_PHISHING_CHECK 0x00000020   ///< Should we check if anti-phishing software is enabled?
#define TNC_COMPLIANCE_ALLOW_FULL_SCAN     0x00000040   ///< Should we allow any of the above to perform a full system scan, if requested?
#define TNC_COMPLIANCE_ALLOW_AUTO_UPDATE   0x00000080   ///< Should we allow an auto update of any pieces found not to be in compliance?  (If unset, we will ask the user.)
// TODO: Remove TNC_COMPLIANCE_ALLOW_FULL_SCAN and TNC_COMPLIANCE_ALLOW_AUTO_UPDATE and replace with TNC_COMPLIANCE_ALLOW_AUTOMATIC_REMEDIATION or the like.  This has already been done in the UI.

#endif // __TNC_COMPLIANCE_OPTIONS_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?