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