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