supdetect.h

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

H
28
字号
/**
 *
 * Licensed under a dual GPL/BSD license.   (See LICENSE file for more info.)
 *
 * \file supdetect.h
 *
 * \author chris@open1x.org
 *
 **/

#ifndef __SUPDETECT_H__
#define __SUPDETECT_H__

// Types of things we want to detect  (i.e.  Things that can get in the way.)
#define OTHER_SUPPLICANT  0x01
#define WIRELESS_MANAGER  0x02

// Severity levels that can be used to notify the UI.
#define WARNING           1          ///< There are droppings from another supplicant or manager that, if activated, can cause problems.
#define BLOCKER           2          ///< The supplicant won't be able to run unless this is fixed.

int supdetect_check_for_other_supplicants();
int supdetect_numinstances(char *);

#endif // __SUPDETECT_H__


⌨️ 快捷键说明

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