Annotation of OpenXM_contrib/gmp/demos/calc/calc-common.h, Revision 1.1.1.1
1.1 ohara 1: /* Prototypes etc for calc program.
2:
3: Copyright 2001 Free Software Foundation, Inc.
4:
5: This file is part of the GNU MP Library.
6:
7: This program is free software; you can redistribute it and/or modify it under
8: the terms of the GNU General Public License as published by the Free Software
9: Foundation; either version 2 of the License, or (at your option) any later
10: version.
11:
12: This program is distributed in the hope that it will be useful, but WITHOUT ANY
13: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14: PARTICULAR PURPOSE. See the GNU General Public License for more details.
15:
16: You should have received a copy of the GNU General Public License along with
17: this program; if not, write to the Free Software Foundation, Inc., 59 Temple
18: Place - Suite 330, Boston, MA 02111-1307, USA. */
19:
20: #include <stddef.h> /* for size_t */
21: #ifndef NO_CALC_H
22: #include "calc.h"
23: #endif
24: #include "calc-config.h"
25:
26: struct calc_keywords_t {
27: char *name;
28: int value;
29: };
30:
31: extern int calc_option_readline;
32: extern int calc_more_input;
33: extern const struct calc_keywords_t calc_keywords[];
34:
35: int calc_input (char *buf, size_t max_size);
36: void calc_init_readline (void);
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>