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

📄 state.h

📁 linux 系统控制硬盘旋转和停止的程序(spin down/up)
💻 H
字号:
/* * <state.h> *  * (C) 2000 Daniel Kobras <kobras@linux.de> *  * $Id: state.h,v 1.4 2004/04/08 20:13:44 nold Exp $ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. *  * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */             #include "disk_info.h"#include "disk_stat.h"#ifndef _NFD_STATE_H#define _NFD_STATE_Htypedef enum nfd_states {	NFD_STATE_UNINITIALISED,	NFD_STATE_SPINNING,	NFD_STATE_PARTIAL,	NFD_STATE_STOPPED} nfd_state_t;typedef enum disk_states {	DISK_STATE_UNINITIALISED,	DISK_STATE_IGNORED,	DISK_STATE_SPINNING,	DISK_STATE_STOPPED} disk_state_t;void devname_init(void);char *devname_get(char *);void nfd_daemon(disk_info_t head, disk_stat_t stat);#endif

⌨️ 快捷键说明

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