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