xref: /titanic_44/usr/src/cmd/make/include/mksh/macro.h (revision 87308b749adb04ab3f564c765b089962af3edb4d)
1 #ifndef _MKSH_MACRO_H
2 #define _MKSH_MACRO_H
3 /*
4  * CDDL HEADER START
5  *
6  * The contents of this file are subject to the terms of the
7  * Common Development and Distribution License (the "License").
8  * You may not use this file except in compliance with the License.
9  *
10  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11  * or http://www.opensolaris.org/os/licensing.
12  * See the License for the specific language governing permissions
13  * and limitations under the License.
14  *
15  * When distributing Covered Code, include this CDDL HEADER in each
16  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17  * If applicable, add the following below this CDDL HEADER, with the
18  * fields enclosed by brackets "[]" replaced with your own identifying
19  * information: Portions Copyright [yyyy] [name of copyright owner]
20  *
21  * CDDL HEADER END
22  */
23 /*
24  * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
25  * Use is subject to license terms.
26  */
27 
28 #include <mksh/defs.h>
29 
30 extern void	expand_macro(register Source source, register String destination, wchar_t *current_string, Boolean cmd);
31 extern void	expand_value(Name value, register String destination, Boolean cmd);
32 extern Name	getvar(register Name name);
33 
34 extern Property	setvar_daemon(register Name name, register Name value, Boolean append, Daemon daemon, Boolean strip_trailing_spaces, short debug_level);
35 
36 #endif
37