Last change
on this file was 206, checked in by Herwig Bauernfeind, 16 years ago |
Import Samba 3.3 branch at 3.0.0 level (psmedley's port)
|
File size:
1.1 KB
|
Line | |
---|
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 3 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, see <http://www.gnu.org/licenses/>.
|
---|
18 | */
|
---|
19 |
|
---|
20 | #ifndef _CLITAR_H
|
---|
21 | #define _CLITAR_H
|
---|
22 |
|
---|
23 | #define TBLOCK 512
|
---|
24 | #define NAMSIZ 100
|
---|
25 | union hblock {
|
---|
26 | char dummy[TBLOCK];
|
---|
27 | struct header {
|
---|
28 | char name[NAMSIZ];
|
---|
29 | char mode[8];
|
---|
30 | char uid[8];
|
---|
31 | char gid[8];
|
---|
32 | char size[12];
|
---|
33 | char mtime[12];
|
---|
34 | char chksum[8];
|
---|
35 | char linkflag;
|
---|
36 | char linkname[NAMSIZ];
|
---|
37 | } dbuf;
|
---|
38 | };
|
---|
39 |
|
---|
40 | #endif /* _CLITAR_H */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.