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