Annotation of OpenXM_contrib/pari-2.2/src/gp/gp.h, Revision 1.2
1.2 ! noro 1: /* $Id: gp.h,v 1.10 2002/06/12 00:24:11 karim Exp $
1.1 noro 2:
3: Copyright (C) 2000 The PARI group.
4:
5: This file is part of the PARI/GP package.
6:
7: PARI/GP is free software; you can redistribute it and/or modify it under the
8: terms of the GNU General Public License as published by the Free Software
9: Foundation. It is distributed in the hope that it will be useful, but WITHOUT
10: ANY WARRANTY WHATSOEVER.
11:
12: Check the License for details. You should have received a copy of it, along
13: with the package; see the file 'COPYING'. If not, write to the Free Software
14: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
15:
16: /*************************************************************************/
17: /* */
18: /* GP-SPECIFIC DECLARATIONS */
19: /* */
20: /*************************************************************************/
21:
22: void recover(int flag);
23: void pari_addfunctions(module **modlist_p, entree *func, char **help);
1.2 ! noro 24: int term_height(void);
! 25: int term_width(void);
! 26: void hit_return(void);
1.1 noro 27:
1.2 ! noro 28: extern int secure;
1.1 noro 29: extern ulong init_opts;
30: extern char *current_logfile;
31: extern jmp_buf environnement;
32:
33: /* for do_time() */
34: enum { ti_NOPRINT, ti_REGULAR, ti_LAST, ti_INTERRUPT };
35:
36: /* default functions (i.e setd*) */
37: #define is_default(s) setdefault((s),"",d_EXISTS)==gun
38: enum { d_ACKNOWLEDGE, d_INITRC, d_SILENT, d_RETURN, d_EXISTS };
39:
40: /* aide() */
41: #define h_REGULAR 0
42: #define h_LONG 1
43: #define h_APROPOS 2
44: #define h_RL 4
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>