1/*
2 * Unix SMB/CIFS implementation.
3 * clitar file format
4 * Copyright (C) Andrew Tridgell              2000
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
14 * more details.
15 *
16 * You should have received a copy of the GNU General Public License along with
17 * this program; if not, write to the Free Software Foundation, Inc., 675
18 * Mass Ave, Cambridge, MA 02139, USA.
19 */
20
21#ifndef _CLITAR_H
22#define _CLITAR_H
23
24#define TBLOCK 512
25#define NAMSIZ 100
26union hblock {
27  char dummy[TBLOCK];
28  struct header {
29    char name[NAMSIZ];
30    char mode[8];
31    char uid[8];
32    char gid[8];
33    char size[12];
34    char mtime[12];
35    char chksum[8];
36    char linkflag;
37    char linkname[NAMSIZ];
38  } dbuf;
39};
40
41#endif /* _CLITAR_H */
42