]> git.saurik.com Git - apple/xnu.git/blame - osfmk/ddb/db_macro.h
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / ddb / db_macro.h
CommitLineData
1c79356b
A
1/*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_HEADER_START@
5 *
37839358
A
6 * The contents of this file constitute Original Code as defined in and
7 * are subject to the Apple Public Source License Version 1.1 (the
8 * "License"). You may not use this file except in compliance with the
9 * License. Please obtain a copy of the License at
10 * http://www.apple.com/publicsource and read it before using this file.
1c79356b 11 *
37839358
A
12 * This Original Code and all software distributed under the License are
13 * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
1c79356b
A
14 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
37839358
A
16 * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT. Please see the
17 * License for the specific language governing rights and limitations
18 * under the License.
1c79356b
A
19 *
20 * @APPLE_LICENSE_HEADER_END@
21 */
22/*
23 * @OSF_COPYRIGHT@
24 */
25/*
26 * HISTORY
27 *
28 * Revision 1.1.1.1 1998/09/22 21:05:48 wsanchez
29 * Import of Mac OS X kernel (~semeria)
30 *
31 * Revision 1.1.1.1 1998/03/07 02:26:09 wsanchez
32 * Import of OSF Mach kernel (~mburg)
33 *
34 * Revision 1.1.6.1 1994/09/23 01:20:28 ezf
35 * change marker to not FREE
36 * [1994/09/22 21:10:28 ezf]
37 *
38 * Revision 1.1.2.3 1993/09/17 21:34:39 robert
39 * change marker to OSF_FREE_COPYRIGHT
40 * [1993/09/17 21:27:20 robert]
41 *
42 * Revision 1.1.2.2 1993/07/27 18:27:48 elliston
43 * Add ANSI prototypes. CR #9523.
44 * [1993/07/27 18:12:28 elliston]
45 *
46 * $EndLog$
47 */
48
49#ifndef _DDB_DB_MACRO_H_
50#define _DDB_DB_MACRO_H_
51
52#include <machine/db_machdep.h>
53#include <ddb/db_variables.h>
54
55/* Prototypes for functions exported by this module.
56 */
57void db_def_macro_cmd(void);
58
59void db_del_macro_cmd(void);
60
61void db_show_macro(void);
62
63int db_exec_macro(char *name);
64
65int db_arg_variable(
66 struct db_variable *vp,
67 db_expr_t *valuep,
68 int flag,
69 db_var_aux_param_t ap);
70
71#endif /* !_DDB_DB_MACRO_H_ */