2013-05-20 01:16:08 -04:00
|
|
|
#ifndef _EXEC_H_
|
|
|
|
#define _EXEC_H_
|
|
|
|
|
2013-10-09 21:55:03 -04:00
|
|
|
#include "retcode.h"
|
|
|
|
|
|
|
|
|
2013-09-23 08:29:49 -04:00
|
|
|
#define PROC 1 /* named procedures */
|
|
|
|
|
|
|
|
#if PROC
|
|
|
|
int storeproc( int f, int n) ;
|
|
|
|
int execproc( int f, int n) ;
|
|
|
|
#endif
|
2013-05-20 01:16:08 -04:00
|
|
|
|
2013-10-08 04:56:47 -04:00
|
|
|
|
2013-10-09 21:55:03 -04:00
|
|
|
extern boolean clexec ; /* command line execution flag */
|
|
|
|
|
2013-10-08 04:56:47 -04:00
|
|
|
|
|
|
|
|
2015-01-02 01:20:07 -05:00
|
|
|
void ue_system( const char *cmd) ;
|
2013-05-20 01:16:08 -04:00
|
|
|
int namedcmd( int f, int n) ;
|
|
|
|
int execcmd( int f, int n) ;
|
2015-01-13 03:42:14 -05:00
|
|
|
void gettoken( char *tok, int maxtoksize) ;
|
2015-01-07 23:46:46 -05:00
|
|
|
int macarg( char *tok, int toksz) ;
|
2013-09-19 04:10:29 -04:00
|
|
|
int nextarg( const char *prompt, char *buffer, int size, int terminator) ;
|
2013-05-20 01:16:08 -04:00
|
|
|
int storemac( int f, int n) ;
|
|
|
|
int execbuf( int f, int n) ;
|
|
|
|
int execfile( int f, int n) ;
|
2015-01-16 08:12:27 -05:00
|
|
|
int dofile( const char *fname) ;
|
2015-01-14 04:16:33 -05:00
|
|
|
|
2013-05-20 01:16:08 -04:00
|
|
|
int cbuf1( int f, int n) ;
|
|
|
|
int cbuf2( int f, int n) ;
|
|
|
|
int cbuf3( int f, int n) ;
|
|
|
|
int cbuf4( int f, int n) ;
|
|
|
|
int cbuf5( int f, int n) ;
|
|
|
|
int cbuf6( int f, int n) ;
|
|
|
|
int cbuf7( int f, int n) ;
|
|
|
|
int cbuf8( int f, int n) ;
|
|
|
|
int cbuf9( int f, int n) ;
|
|
|
|
int cbuf10( int f, int n) ;
|
|
|
|
int cbuf11( int f, int n) ;
|
|
|
|
int cbuf12( int f, int n) ;
|
|
|
|
int cbuf13( int f, int n) ;
|
|
|
|
int cbuf14( int f, int n) ;
|
|
|
|
int cbuf15( int f, int n) ;
|
|
|
|
int cbuf16( int f, int n) ;
|
|
|
|
int cbuf17( int f, int n) ;
|
|
|
|
int cbuf18( int f, int n) ;
|
|
|
|
int cbuf19( int f, int n) ;
|
|
|
|
int cbuf20( int f, int n) ;
|
|
|
|
int cbuf21( int f, int n) ;
|
|
|
|
int cbuf22( int f, int n) ;
|
|
|
|
int cbuf23( int f, int n) ;
|
|
|
|
int cbuf24( int f, int n) ;
|
|
|
|
int cbuf25( int f, int n) ;
|
|
|
|
int cbuf26( int f, int n) ;
|
|
|
|
int cbuf27( int f, int n) ;
|
|
|
|
int cbuf28( int f, int n) ;
|
|
|
|
int cbuf29( int f, int n) ;
|
|
|
|
int cbuf30( int f, int n) ;
|
|
|
|
int cbuf31( int f, int n) ;
|
|
|
|
int cbuf32( int f, int n) ;
|
|
|
|
int cbuf33( int f, int n) ;
|
|
|
|
int cbuf34( int f, int n) ;
|
|
|
|
int cbuf35( int f, int n) ;
|
|
|
|
int cbuf36( int f, int n) ;
|
|
|
|
int cbuf37( int f, int n) ;
|
|
|
|
int cbuf38( int f, int n) ;
|
|
|
|
int cbuf39( int f, int n) ;
|
|
|
|
int cbuf40( int f, int n) ;
|
|
|
|
|
|
|
|
#endif
|