xref: /freebsd/sbin/ddb/ddb.h (revision b3e76948)
1a1f25b0dSRobert Watson /*-
24d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
31de7b4b8SPedro F. Giffuni  *
4a1f25b0dSRobert Watson  * Copyright (c) 2007 Robert N. M. Watson
5a1f25b0dSRobert Watson  * All rights reserved.
6a1f25b0dSRobert Watson  *
7a1f25b0dSRobert Watson  * Redistribution and use in source and binary forms, with or without
8a1f25b0dSRobert Watson  * modification, are permitted provided that the following conditions
9a1f25b0dSRobert Watson  * are met:
10a1f25b0dSRobert Watson  * 1. Redistributions of source code must retain the above copyright
11a1f25b0dSRobert Watson  *    notice, this list of conditions and the following disclaimer.
12a1f25b0dSRobert Watson  * 2. Redistributions in binary form must reproduce the above copyright
13a1f25b0dSRobert Watson  *    notice, this list of conditions and the following disclaimer in the
14a1f25b0dSRobert Watson  *    documentation and/or other materials provided with the distribution.
15a1f25b0dSRobert Watson  *
16a1f25b0dSRobert Watson  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17a1f25b0dSRobert Watson  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18a1f25b0dSRobert Watson  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19a1f25b0dSRobert Watson  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20a1f25b0dSRobert Watson  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21a1f25b0dSRobert Watson  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22a1f25b0dSRobert Watson  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23a1f25b0dSRobert Watson  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24a1f25b0dSRobert Watson  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25a1f25b0dSRobert Watson  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26a1f25b0dSRobert Watson  * SUCH DAMAGE.
27a1f25b0dSRobert Watson  */
28a1f25b0dSRobert Watson 
29a1f25b0dSRobert Watson #ifndef DDB_H
30a1f25b0dSRobert Watson #define	DDB_H
31a1f25b0dSRobert Watson 
3206934245SRobert Watson void	ddb_capture(int argc, char *argv[]);
33a1f25b0dSRobert Watson void	ddb_script(int argc, char *argv[]);
34a1f25b0dSRobert Watson void	ddb_scripts(int argc, char *argv[]);
35a1f25b0dSRobert Watson void	ddb_unscript(int argc, char *argv[]);
36a1f25b0dSRobert Watson void	usage(void);
37a1f25b0dSRobert Watson 
38a1f25b0dSRobert Watson #endif /* DDB_H */
39