1 /* $Id: sizeprobe.h,v 1.3 2005/05/13 18:52:06 harbourn Exp $
2  * dcfldd - The Enhanced Forensic DD
3  * By Nicholas Harbour
4  */
5 
6 /* Copyright 85, 90, 91, 1995-2001, 2005 Free Software Foundation, Inc.
7    Copyright 2008                        David Loveall <dave@loveall.org>
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, or (at your option)
12    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; if not, write to the Free Software Foundation,
21    Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.  */
22 
23 /* GNU dd originally written by Paul Rubin, David MacKenzie, and Stuart Kemp. */
24 
25 #ifndef SIZEPROBE_H
26 #define SIZEPROBE_H
27 
28 #include "dcfldd.h"
29 #include <sys/types.h>
30 
31 enum {PROBE_NONE = 0, PROBE_INPUT, PROBE_OUTPUT, PROBE_INPUT_PROVIDED};
32 
33 extern int probe;
34 extern off_t probed_size;
35 
36 extern void sizeprobe(int);
37 
38 #endif /* SIZEPROBE_H */
39