Avoid risk of stack overflow.
[m4.git] / src / m4.h
blob6fb89897e91d386baef505fad48c5e0b43c8c988
1 /* GNU m4 -- A simple macro processor
2 Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2006, 2007 Free Software
3 Foundation, Inc.
5 This file is part of GNU M4.
7 GNU M4 is free software: you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation, either version 3 of the License, or
10 (at your option) any later version.
12 GNU M4 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, see <http://www.gnu.org/licenses/>.
21 #ifndef M4_H
22 #define M4_H
24 #include <signal.h>
26 #include "m4private.h"
28 #include "gettext.h"
30 /* Error handling. */
31 #ifdef USE_STACKOVF
32 void setup_stackovf_trap (char *const *, char *const *,
33 void (*handler) (void));
34 void stackovf_exit (void);
35 #endif
38 /* File: freeze.c --- frozen state files. */
40 void produce_frozen_state (m4 *context, const char *);
41 void reload_frozen_state (m4 *context, const char *);
43 #endif /* M4_H */