xref: /freebsd-src/lib/geom/journal/geom_journal.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1e4b0a90eSBrooks Davis /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3e4b0a90eSBrooks Davis  *
4e4b0a90eSBrooks Davis  * Copyright (c) 2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>
5e4b0a90eSBrooks Davis  * All rights reserved.
6e4b0a90eSBrooks Davis  *
7e4b0a90eSBrooks Davis  * Redistribution and use in source and binary forms, with or without
8e4b0a90eSBrooks Davis  * modification, are permitted provided that the following conditions
9e4b0a90eSBrooks Davis  * are met:
10e4b0a90eSBrooks Davis  * 1. Redistributions of source code must retain the above copyright
11e4b0a90eSBrooks Davis  *    notice, this list of conditions and the following disclaimer.
12e4b0a90eSBrooks Davis  * 2. Redistributions in binary form must reproduce the above copyright
13e4b0a90eSBrooks Davis  *    notice, this list of conditions and the following disclaimer in the
14e4b0a90eSBrooks Davis  *    documentation and/or other materials provided with the distribution.
15e4b0a90eSBrooks Davis  *
16e4b0a90eSBrooks Davis  * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
17e4b0a90eSBrooks Davis  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18e4b0a90eSBrooks Davis  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19e4b0a90eSBrooks Davis  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
20e4b0a90eSBrooks Davis  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21e4b0a90eSBrooks Davis  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22e4b0a90eSBrooks Davis  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23e4b0a90eSBrooks Davis  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24e4b0a90eSBrooks Davis  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25e4b0a90eSBrooks Davis  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26e4b0a90eSBrooks Davis  * SUCH DAMAGE.
27e4b0a90eSBrooks Davis  */
28e4b0a90eSBrooks Davis 
29e4b0a90eSBrooks Davis #ifndef	_GEOM_JOURNAL_H_
30e4b0a90eSBrooks Davis #define	_GEOM_JOURNAL_H_
31e4b0a90eSBrooks Davis int g_journal_ufs_exists(const char *prov);
32e4b0a90eSBrooks Davis int g_journal_ufs_using_last_sector(const char *prov);
33e4b0a90eSBrooks Davis #endif	/* !_GEOM_JOURNAL_H_ */
34