Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

tarfs_common.h

Go to the documentation of this file.
00001 
00010 /* ************************************************************************* *
00011  *                                                                           *
00012  *   This program is free software; you can redistribute it and/or modify    *
00013  *   it under the terms of the GNU General Public License as published by    *
00014  *   the Free Software Foundation; either version 2 of the License, or       *
00015  *   (at your option) any later version.                                     *
00016  *                                                                           *
00017  * ************************************************************************* */
00018 
00019 
00020 #ifndef __TARFS_COMMON__
00021 #define __TARFS_COMMON__
00022 
00023 // Uncomment this to enable debugging messages
00024 //#define DEBUG
00025 
00026 #define TARFS_BLKSIZE 512    
00027 #define TARFS_BLKSIZE_BITS 9 
00028 #define TARFS_MAGIC 0x4625   
00029 #define FSNAME "tarfs"      
00030 #define TARFS_EVAL  ((unsigned long) - 1)           
00031 #define TARFS_THISDIR_FPOS ((unsigned long) - 2)    
00032 #define TARFS_PARENTDIR_FPOS ((unsigned long) - 3)  
00033 #define TARFS_ROOT_INO ((unsigned long) - 4)        
00034 #define TARFS_NUMLENGTH 11                          
00050 #define TARFS_CAN_ADD -1
00051 
00052 #ifdef DEBUG
00053 #define PRINTD(X) printk("<1>" X "\n");
00054 #else
00055 #define PRINTD(X)
00056 #endif
00057 
00058 #endif // __TARFS_CONSTS_H__

Generated on Fri May 23 02:10:44 2003 for TarFS by doxygen1.3