00001 /* 00002 * Unix SMB/CIFS implementation. 00003 * clitar file format 00004 * Copyright (C) Andrew Tridgell 2000 00005 * 00006 * This program is free software; you can redistribute it and/or modify it 00007 * under the terms of the GNU General Public License as published by the 00008 * Free Software Foundation; either version 2 of the License, or (at your 00009 * option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, but WITHOUT 00012 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 00014 * more details. 00015 * 00016 * You should have received a copy of the GNU General Public License along with 00017 * this program; if not, write to the Free Software Foundation, Inc., 675 00018 * Mass Ave, Cambridge, MA 02139, USA. 00019 */ 00020 00021 #ifndef _CLITAR_H 00022 #define _CLITAR_H 00023 00024 #define TBLOCK 512 00025 #define NAMSIZ 100 00026 union hblock { 00027 char dummy[TBLOCK]; 00028 struct header { 00029 char name[NAMSIZ]; 00030 char mode[8]; 00031 char uid[8]; 00032 char gid[8]; 00033 char size[12]; 00034 char mtime[12]; 00035 char chksum[8]; 00036 char linkflag; 00037 char linkname[NAMSIZ]; 00038 } dbuf; 00039 }; 00040 00041 #endif /* _CLITAR_H */