xref: /onnv-gate/usr/src/cmd/ssh/include/progressmeter.h (revision 5087:929c96aa57f2)
1*5087Sjp161948 /*
2*5087Sjp161948  * Copyright (c) 2002 Nils Nordman.  All rights reserved.
3*5087Sjp161948  *
4*5087Sjp161948  * Redistribution and use in source and binary forms, with or without
5*5087Sjp161948  * modification, are permitted provided that the following conditions
6*5087Sjp161948  * are met:
7*5087Sjp161948  * 1. Redistributions of source code must retain the above copyright
8*5087Sjp161948  *    notice, this list of conditions and the following disclaimer.
9*5087Sjp161948  * 2. Redistributions in binary form must reproduce the above copyright
10*5087Sjp161948  *    notice, this list of conditions and the following disclaimer in the
11*5087Sjp161948  *    documentation and/or other materials provided with the distribution.
12*5087Sjp161948  *
13*5087Sjp161948  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
14*5087Sjp161948  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
15*5087Sjp161948  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16*5087Sjp161948  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
17*5087Sjp161948  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18*5087Sjp161948  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
19*5087Sjp161948  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
20*5087Sjp161948  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21*5087Sjp161948  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22*5087Sjp161948  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23*5087Sjp161948  */
24*5087Sjp161948 
25*5087Sjp161948 #ifndef	_PROGRESSMETER_H
26*5087Sjp161948 #define	_PROGRESSMETER_H
27*5087Sjp161948 
28*5087Sjp161948 /* $OpenBSD: progressmeter.h,v 1.2 2006/03/25 22:22:43 djm Exp $ */
29*5087Sjp161948 
30*5087Sjp161948 #pragma ident	"%Z%%M%	%I%	%E% SMI"
31*5087Sjp161948 
32*5087Sjp161948 #ifdef __cplusplus
33*5087Sjp161948 extern "C" {
34*5087Sjp161948 #endif
35*5087Sjp161948 
36*5087Sjp161948 void	start_progress_meter(char *, off_t, off_t *);
37*5087Sjp161948 void	stop_progress_meter(void);
38*5087Sjp161948 
39*5087Sjp161948 #ifdef __cplusplus
40*5087Sjp161948 }
41*5087Sjp161948 #endif
42*5087Sjp161948 
43*5087Sjp161948 #endif /* _PROGRESSMETER_H */
44