xref: /freebsd/sbin/bectl/bectl.h (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
1d694059fSKyle Evans /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3d694059fSKyle Evans  *
4d694059fSKyle Evans  * Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
5d694059fSKyle Evans  *
6d694059fSKyle Evans  * Redistribution and use in source and binary forms, with or without
7d694059fSKyle Evans  * modification, are permitted provided that the following conditions
8d694059fSKyle Evans  * are met:
9d694059fSKyle Evans  * 1. Redistributions of source code must retain the above copyright
10d694059fSKyle Evans  *    notice, this list of conditions and the following disclaimer.
11d694059fSKyle Evans  * 2. Redistributions in binary form must reproduce the above copyright
12d694059fSKyle Evans  *    notice, this list of conditions and the following disclaimer in the
13d694059fSKyle Evans  *    documentation and/or other materials provided with the distribution.
14d694059fSKyle Evans  *
15d694059fSKyle Evans  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16d694059fSKyle Evans  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17d694059fSKyle Evans  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18d694059fSKyle Evans  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19d694059fSKyle Evans  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
20d694059fSKyle Evans  * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21d694059fSKyle Evans  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
22d694059fSKyle Evans  * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23d694059fSKyle Evans  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24d694059fSKyle Evans  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25d694059fSKyle Evans  * SUCH DAMAGE.
26d694059fSKyle Evans  */
27d694059fSKyle Evans 
28d694059fSKyle Evans int usage(bool explicit);
29d694059fSKyle Evans 
30d694059fSKyle Evans int bectl_cmd_jail(int argc, char *argv[]);
31d694059fSKyle Evans int bectl_cmd_unjail(int argc, char *argv[]);
32d694059fSKyle Evans 
33526ad58eSKyle Evans int bectl_cmd_list(int argc, char *argv[]);
34526ad58eSKyle Evans 
35d694059fSKyle Evans extern libbe_handle_t *be;
36