2013-05-20 01:16:08 -04:00
|
|
|
#ifndef _EVAL_H_
|
|
|
|
#define _EVAL_H_
|
|
|
|
|
2013-10-07 22:20:01 -04:00
|
|
|
|
|
|
|
#define DEBUGM 1 /* $debug triggers macro debugging */
|
|
|
|
|
|
|
|
#if DEBUGM
|
2015-01-15 01:36:19 -05:00
|
|
|
int mdbugout( char *fmt, char *s1, char *s2, char *s3) ;
|
2013-10-07 22:20:01 -04:00
|
|
|
#endif
|
|
|
|
|
2015-01-15 01:36:19 -05:00
|
|
|
|
2013-10-08 04:24:11 -04:00
|
|
|
extern int macbug ; /* macro debuging flag */
|
|
|
|
extern int cmdstatus ; /* last command status */
|
2013-10-09 04:58:33 -04:00
|
|
|
extern int flickcode ; /* do flicker supression? */
|
2013-10-09 23:42:33 -04:00
|
|
|
extern int rval ; /* return value of a subprocess */
|
2013-10-09 02:38:55 -04:00
|
|
|
extern long envram ; /* # of bytes current in use by malloc */
|
|
|
|
|
2015-01-10 03:23:19 -05:00
|
|
|
int readfirst_f( void) ;
|
2015-01-09 04:53:29 -05:00
|
|
|
int is_it_cmd( char *token) ;
|
2013-09-23 09:30:31 -04:00
|
|
|
|
2013-05-20 01:16:08 -04:00
|
|
|
void varinit( void) ;
|
|
|
|
int setvar( int f, int n) ;
|
2014-06-18 02:59:40 -04:00
|
|
|
char *i_to_a( int i) ;
|
2013-05-20 01:16:08 -04:00
|
|
|
char *getval( char *token) ;
|
|
|
|
int stol( char *val) ;
|
|
|
|
char *mklower( char *str) ;
|
|
|
|
int abs( int x) ;
|
|
|
|
|
|
|
|
#endif
|