remake  4.3+dbg-1.5
expand.h
Go to the documentation of this file.
1 /* $Id: expand.h,v 1.9 2006/12/18 10:12:25 rockyb Exp $
2 Copyright (C) 2005 R. Bernstein <rocky@gnu.org>
3 This file is part of GNU Make (remake variant).
4 
5 GNU Make is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9 
10 GNU Make is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14 
15 You should have received a copy of the GNU General Public License
16 along with GNU Make; see the file COPYING. If not, write to
17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA. */
19 
25 #ifndef REMAKE_EXPAND_H
26 #define REMAKE_EXPAND_H
27 
28 #include "variable.h"
29 #include "filedef.h"
30 
34 extern char *allocated_variable_expand_for_file(const char *psz_line,
35  file_t *p_file);
36 
37 
44 //extern char *expand_argument(const char *str, const char *end);
45 
49 //extern void install_variable_buffer (char **pp_buf, unsigned int *pi_len);
50 
54 #define recursively_expand(v) recursively_expand_for_file (v, NULL)
55 
57 //extern char *recursively_expand_for_file(variable_t *v, file_t *file);
58 
66 //extern void restore_variable_buffer(char *p_buf, unsigned int len);
67 
69 extern char *variable_expand_set (char *psz_line,
70  variable_set_list_t *p_file_set);
71 
72 #endif /*REMAKE_EXPAND_H*/
char * allocated_variable_expand_for_file(const char *psz_line, file_t *p_file)
Definition: variable.h:98
char * variable_expand_set(char *psz_line, variable_set_list_t *p_file_set)
Definition: filedef.h:34