00001 #ifndef _TOKE_MACROS_H 00002 #define _TOKE_MACROS_H 00003 00004 /* 00005 * OpenBIOS - free your system! 00006 * ( FCode tokenizer ) 00007 * 00008 * This program is part of a free implementation of the IEEE 1275-1994 00009 * Standard for Boot (Initialization Configuration) Firmware. 00010 * 00011 * Copyright (C) 2001-2005 Stefan Reinauer, <stepan@openbios.org> 00012 * 00013 * This program is free software; you can redistribute it and/or modify 00014 * it under the terms of the GNU General Public License as published by 00015 * the Free Software Foundation; version 2 of the License. 00016 * 00017 * This program is distributed in the hope that it will be useful, 00018 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00019 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00020 * GNU General Public License for more details. 00021 * 00022 * You should have received a copy of the GNU General Public License 00023 * along with this program; if not, write to the Free Software 00024 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA, 02110-1301 USA 00025 * 00026 */ 00027 00028 /* ************************************************************************** 00029 * 00030 * Prototypes for functions that operate on the MACROS vocabulary, 00031 * which is implemented as a String-Substitution-type vocab. 00032 * 00033 * (C) Copyright 2005 IBM Corporation. All Rights Reserved. 00034 * Module Author: David L. Paktor dlpaktor@us.ibm.com 00035 * 00036 **************************************************************************** */ 00037 00038 00039 #include "types.h" 00040 #include "ticvocab.h" 00041 00042 /* ************************************************************************** * 00043 * 00044 * Function Prototypes / Functions Exported: 00045 * 00046 **************************************************************************** */ 00047 00048 void init_macros( tic_hdr_t **tic_vocab_ptr ); 00049 void add_user_macro( void); 00050 void skip_user_macro( tic_bool_param_t pfield ); 00051 #if 0 /* What's this doing here? */ 00052 char *lookup_macro(char *name); 00053 bool exists_as_macro(char *name); 00054 bool create_macro_alias( char *new_name, char *old_name ); 00055 void reset_macros_vocab( void ); 00056 #endif /* What's this doing here? */ 00057 00058 #endif /* _TOKE_MACROS_H */