bectl.h revision 337663
1139749Simp/*-
293746Sjulian * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
393746Sjulian *
493746Sjulian * Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org>
593746Sjulian *
693746Sjulian * Redistribution and use in source and binary forms, with or without
793746Sjulian * modification, are permitted provided that the following conditions
893746Sjulian * are met:
993746Sjulian * 1. Redistributions of source code must retain the above copyright
1093746Sjulian *    notice, this list of conditions and the following disclaimer.
1193746Sjulian * 2. Redistributions in binary form must reproduce the above copyright
1293746Sjulian *    notice, this list of conditions and the following disclaimer in the
1393746Sjulian *    documentation and/or other materials provided with the distribution.
1493746Sjulian *
1593746Sjulian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1693746Sjulian * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1793746Sjulian * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1893746Sjulian * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1993746Sjulian * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
2093746Sjulian * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
2193746Sjulian * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
2293746Sjulian * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
2393746Sjulian * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2493746Sjulian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2593746Sjulian * SUCH DAMAGE.
2693746Sjulian *
2793746Sjulian * $FreeBSD: head/sbin/bectl/bectl.h 337369 2018-08-06 03:41:52Z kevans $
2893746Sjulian */
2993746Sjulian
3093746Sjulianint usage(bool explicit);
3193746Sjulian
3293746Sjulianint bectl_cmd_jail(int argc, char *argv[]);
3393746Sjulianint bectl_cmd_unjail(int argc, char *argv[]);
3493746Sjulian
3593746Sjulianint bectl_cmd_list(int argc, char *argv[]);
3693746Sjulian
3793746Sjulianextern libbe_handle_t *be;
3893746Sjulian