4 * Copyright (c) 2003 Stephen Williams (steve@icarus.com)
6 * This source code is free software; you can redistribute it
7 * and/or modify it in source code form under the terms of the GNU
8 * General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
22 #ident "$Id: stringheap.h,v 1.1 2003/02/13 18:13:28 steve Exp $"
25 struct stringheap_cell
;
28 struct stringheap_cell
*cell_lst
;
33 * Allocate the string from the heap.
35 const char*strdup_sh(struct stringheap_s
*hp
, const char*str
);
38 * $Log: stringheap.h,v $
39 * Revision 1.1 2003/02/13 18:13:28 steve
40 * Make lxt use stringheap to perm-allocate strings.