1 /* Prototypes etc for calc program.
3 Copyright 2001 Free Software Foundation, Inc.
5 This file is part of the GNU MP Library.
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 3 of the License, or (at your option) any later
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.
16 You should have received a copy of the GNU General Public License along with
17 this program. If not, see http://www.gnu.org/licenses/. */
19 #include <stddef.h> /* for size_t */
23 #include "calc-config.h"
25 struct calc_keywords_t {
30 extern int calc_option_readline;
31 extern int calc_more_input;
32 extern const struct calc_keywords_t calc_keywords[];
34 int calc_input (char *buf, size_t max_size);
35 void calc_init_readline (void);