pthread_diskm.h

来自「1、基于韩国at2041芯片开发的Linux环境的DVR代码。 2、以原来代码」· C头文件 代码 · 共 81 行

H
81
字号
/* set tabstop=4 */
/********************************************************************************
 *                                                                              *
 * Copyright(C) 2004  Penta-Micro                                               *
 *                                                                              *
 * ALL RIGHT RESERVED                                                           *
 *                                                                              *
 * This software is the property of Penta-Micro and is furnished under          *
 * license by Penta-Micro. This software may be used only in accordance         *	
 * with the terms of said license. This copyright notice may not be             *
 * removed, modified or obliterated without the prior written permission        *
 * of Penta-Micro.                                                              *
 *                                                                              *
 * This software may not be copyed, transmitted, provided to or otherwise       *
 * made available to any other person, company, corporation	or other entity     *
 * except as specified in the terms of said license.                            *
 *                                                                              *
 * No right, title, ownership or other interest in the software is hereby       *
 * granted or transferred.                                                      *
 *                                                                              *
 * The information contained herein is subject to change without notice and     *
 * should not be construed as a commitment by Penta-Micro.                      *
 *                                                                              *
 ********************************************************************************
 
  MODULE NAME:  PTHREAD_DISKM.H
  
  REVISION HISTORY:
  
  Date       Ver Name                  Description
  ---------- --- --------------------- -----------------------------------------
 09/06/2004 2.0 CheulBeck(whitefe)       Created 
 07/20/2005 2.1 JiGwanKang(xchannel)  Modified    
 ...............................................................................
 
  DESCRIPTION:
  
  This Module contains definition for Disk Management function.
  
 ...............................................................................
*/    
 
#ifndef __PTHREAD_DISKM_H
#define __PTHREAD_DISKM_H


/** ************************************************************************* ** 
 ** includes
 ** ************************************************************************* **/
#include "typedef.h"

 
/** ************************************************************************* ** 
 ** defines
 ** ************************************************************************* **/
/* mount information */
#define	DISKA		"/dev/hda1"
#define	DISKB		"/dev/hdb1"
#define	DISKC		"/dev/hdc1"
#define	DISKD		"/dev/hdd1"

/** ************************************************************************* ** 
 ** typedefs
 ** ************************************************************************* **/


  
/** ************************************************************************* ** 
 ** function prototypes
 ** ************************************************************************* **/
void	            *pthread_diskm(void *args);
void	            check_disk_attached(void);
BOOL	      check_mount_for_disk(S8 * pattern);
BOOL	      check_disk_full(void);
RETURN	delete_files_until_disk_sufficient(void);
RETURN	delete_one_file(void);
RETURN	delete_db_info(DB_RECORD pdr);


#endif /* __PTHREAD_DISKM_H */

⌨️ 快捷键说明

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