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