linux_calls.c

来自「linux 下通过802.1认证的安装包」· C语言 代码 · 共 48 行

C
48
字号
/**
 *  Library to attempt to detect other supplicants that may be running.
 *
 *  \file linux_calls.c
 *
 *  \author chris@open1x.org
 *
 * $Id: linux_calls.c,v 1.1.2.1 2007/05/19 23:56:33 chessing Exp $
 * $Date: 2007/05/19 23:56:33 $
 **/
#ifdef LINUX

#include <stdio.h>

#include "../../src/xsup_debug.h"
#include "supdetect_private.h"


/**
 * \brief Look in the linux process list to see if a process is running.
 *
 * @param[in] search   The fingerprint record to search for.
 *
 * \retval >0 number of times the fingerprint was matched.
 * \retval 0 process not found.
 **/
int supdetect_check_process_list(sup_fingerprints *search)
{
#warning IMPLEMENT!
  return 0;
}

/**
 * \brief This call is provided so that we can run checks against anything
 *        special that the OS does that we might care about.  (i.e. Windows
 *        Zero Config.)
 *
 * \retval >0 the number of OS specific checks that failed.
 * \retval 0 no OS specific checks failed.
 **/
int os_strange_checks()
{
	return 0;
}


#endif // LINUX

⌨️ 快捷键说明

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