summaryrefslogtreecommitdiffstats
path: root/usr.bin/fetch/fetch.h
diff options
context:
space:
mode:
authorcracauer <cracauer@FreeBSD.org>1998-12-08 13:00:49 +0000
committercracauer <cracauer@FreeBSD.org>1998-12-08 13:00:49 +0000
commitc4f0cd91dfd075657106a1cf7a6b6e0b3a1712f9 (patch)
treefc3f9e64c7788a6155478c488fe7065670d41463 /usr.bin/fetch/fetch.h
parentb34285d7af1280b5524d2efb346146f3bb7834e1 (diff)
downloadFreeBSD-src-c4f0cd91dfd075657106a1cf7a6b6e0b3a1712f9.zip
FreeBSD-src-c4f0cd91dfd075657106a1cf7a6b6e0b3a1712f9.tar.gz
Add -s option, just report size of file that would be fetched.
Reviewed by: -current list
Diffstat (limited to 'usr.bin/fetch/fetch.h')
-rw-r--r--usr.bin/fetch/fetch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/fetch/fetch.h b/usr.bin/fetch/fetch.h
index aac3fbc..685fdd6 100644
--- a/usr.bin/fetch/fetch.h
+++ b/usr.bin/fetch/fetch.h
@@ -26,7 +26,7 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: fetch.h,v 1.5 1997/08/05 20:18:38 ache Exp $
+ * $Id: fetch.h,v 1.6 1998/09/20 00:01:26 jkh Exp $
*/
#ifndef fetch_h
@@ -52,6 +52,7 @@ struct fetch_state {
int fs_linux_bug; /* -b option */
int fs_use_connect; /* -t option */
off_t fs_expectedsize; /* -S option */
+ int fs_reportsize; /* -s option */
time_t fs_modtime;
void *fs_proto;
int (*fs_retrieve)(struct fetch_state *);
OpenPOWER on IntegriCloud