⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cert.c

📁 自己根据lkd和情境分析
💻 C
字号:
/* $Id: cert.c,v 1.1.1.1 2004/02/04 12:56:16 laputa Exp $ * * Author       Karsten Keil * Copyright    by Karsten Keil      <keil@isdn4linux.de> *  * This software may be used and distributed according to the terms * of the GNU General Public License, incorporated herein by reference. * * For changes and modifications please read * ../../../Documentation/isdn/HiSax.cert * */ #include <linux/kernel.h>intcertification_check(int output) {#ifdef CERTIFICATION#if CERTIFICATION == 0	if (output) {		printk(KERN_INFO "HiSax: Approval certification valid\n");		printk(KERN_INFO "HiSax: Approved with ELSA Microlink PCI cards\n");		printk(KERN_INFO "HiSax: Approved with Eicon Technology Diva 2.01 PCI cards\n");		printk(KERN_INFO "HiSax: Approved with Sedlbauer Speedfax + cards\n");		printk(KERN_INFO "HiSax: Approved with HFC-S PCI A based cards\n");	}	return(0);#endif#if CERTIFICATION == 1	if (output) {		printk(KERN_INFO "HiSax: Approval certification failed because of\n");		printk(KERN_INFO "HiSax: unauthorized source code changes\n");	}	return(1);#endif#if CERTIFICATION == 127	if (output) {		printk(KERN_INFO "HiSax: Approval certification not possible\n");		printk(KERN_INFO "HiSax: because \"md5sum\" is not available\n");	}	return(2);#endif#else	if (output) {		printk(KERN_INFO "HiSax: Certification not verified\n");	}	return(3);#endif}

⌨️ 快捷键说明

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