1 /* 2 * ntfscat - Part of the Linux-NTFS project. 3 * 4 * Copyright (c) 2003 Richard Russon 5 * Copyright (c) 2003 Anton Altaparmakov 6 * 7 * This utility will concatenate files and print on the standard output. 8 * 9 * This program is free software; you can redistribute it and/or modify 10 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2 of the License, or 12 * (at your option) any later version. 13 * 14 * This program is distributed in the hope that it will be useful, 15 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 * GNU General Public License for more details. 18 * 19 * You should have received a copy of the GNU General Public License 20 * along with this program (in the main directory of the Linux-NTFS 21 * distribution in the file COPYING); if not, write to the Free Software 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 23 */ 24 25 #ifndef _NTFSCAT_H_ 26 #define _NTFSCAT_H_ 27 28 #include "types.h" 29 #include "layout.h" 30 31 struct options { 32 char *device; /* Device/File to work with */ 33 char *file; /* File to display */ 34 s64 inode; /* Inode to work with */ 35 ATTR_TYPES attr; /* Attribute type to display */ 36 ntfschar *attr_name; /* Attribute name to display */ 37 int attr_name_len; /* Attribute name length */ 38 int force; /* Override common sense */ 39 int quiet; /* Less output */ 40 int verbose; /* Extra output */ 41 BOOL raw; /* Raw data output */ 42 }; 43 44 #endif /* _NTFSCAT_H_ */ 45 46