xref: /netbsd-src/crypto/external/bsd/openssh/dist/progressmeter.h (revision aa36fcac57926c2ee7244eeb1b53bf604da30be9)
1*aa36fcacSchristos /*	$NetBSD: progressmeter.h,v 1.7 2019/04/20 17:16:40 christos Exp $	*/
2*aa36fcacSchristos /* $OpenBSD: progressmeter.h,v 1.5 2019/01/24 16:52:17 dtucker Exp $ */
3ca32bd8dSchristos /*
4ca32bd8dSchristos  * Copyright (c) 2002 Nils Nordman.  All rights reserved.
5ca32bd8dSchristos  *
6ca32bd8dSchristos  * Redistribution and use in source and binary forms, with or without
7ca32bd8dSchristos  * modification, are permitted provided that the following conditions
8ca32bd8dSchristos  * are met:
9ca32bd8dSchristos  * 1. Redistributions of source code must retain the above copyright
10ca32bd8dSchristos  *    notice, this list of conditions and the following disclaimer.
11ca32bd8dSchristos  * 2. Redistributions in binary form must reproduce the above copyright
12ca32bd8dSchristos  *    notice, this list of conditions and the following disclaimer in the
13ca32bd8dSchristos  *    documentation and/or other materials provided with the distribution.
14ca32bd8dSchristos  *
15ca32bd8dSchristos  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16ca32bd8dSchristos  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17ca32bd8dSchristos  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18ca32bd8dSchristos  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19ca32bd8dSchristos  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20ca32bd8dSchristos  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21ca32bd8dSchristos  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22ca32bd8dSchristos  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23ca32bd8dSchristos  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24ca32bd8dSchristos  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25ca32bd8dSchristos  */
26ca32bd8dSchristos 
27e4d43b82Schristos void	start_progress_meter(const char *, off_t, off_t *);
28*aa36fcacSchristos void	refresh_progress_meter(int);
29ca32bd8dSchristos void	stop_progress_meter(void);
30