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