
/* alias.c              */

Prototype int	init_macros	(void);
Prototype void	do_setmacro	(void);
Prototype void	do_unsetmacro	(void);
Prototype void	SetMacroVar	(char* name, char* value);
Prototype void	do_setmacrovar	(void);
Prototype void	do_unsetmacrovar(void);
Prototype void* getmacro	(char* name);
Prototype int	callmacro	(void*);
Prototype int	nummacroargs	(void*);
Prototype char* getmacroarg	(char* name);
Prototype char* getmacrovar	(char* name);
Prototype void	DelMacros	(void);
Prototype int	SetMacro	(char* name, char* body, int nargs);
Prototype void	do_retmacro	(void);
Prototype int	 savemacros	 (FILE *);          /* PATCH_NULL [25 Jan 1993] : proto'd for pack.c */
Prototype int	 loadmacros	 (FILE *, int *);   /* PATCH_NULL [25 Jan 1993] : proto'd for pack.c */
Prototype int	 GetDefMacros	 (void);            /* PATCH_NULL [25 Jan 1993] : proto'd for pack.c */
Prototype void do_macrosave (void);
Prototype void do_macroload (void);

/* amiga.c              */

Prototype void set_pubscreen (void);

/* block.c              */

Prototype UWORD  is_inblock	 (Line, Column);
Prototype void	 displayblock	 (BOOL);
Prototype void	 redraw_block	 (BOOL, Line, Column, Line, Column);
Prototype void	 do_blocktype	 (void);
Prototype void	 do_block	 (void);
Prototype BOOL	 block_ok	 (void);
Prototype void	 do_copy	 (void);
Prototype char * block_to_string (void);
Prototype void	 do_bdelete	 (void);
Prototype void	 do_bcopy	 (void);
Prototype void	 do_bmove	 (void);
Prototype void	 do_bsource	 (void);

/* clipboard.c          */


/* cmd.c                */

Prototype void do_if	    (void);
Prototype void do_repeat    (void);
Prototype int  do_toggle    (int);
Prototype void do_scanf     (void);
Prototype void do_push	    (void);
Prototype void do_pop	    (void);
Prototype void do_swap	    (void);
Prototype void check_stack  (ED *);

/* command.c            */

Prototype int	 do_command   (char *);
Prototype void	 do_null      (void);
Prototype void	 do_source    (long);
Prototype void	 do_quit      (void);
Prototype void	 do_quitall   (void);
Prototype void	 do_execute   (void);
Prototype char * breakout     (char **, char *, char **);

/* cursor.c             */

Prototype void do_up		      (void);
Prototype void do_scrolldown	      (void);
Prototype void do_scrollup	      (void);
Prototype void do_down		      (void);
Prototype void do_page		      (void);
Prototype void do_downadd	      (void);
Prototype void do_left		      (void);
Prototype void do_right 	      (void);
Prototype void do_tab		      (void);
Prototype void do_backtab	      (void);
Prototype void do_top		      (void);
Prototype void do_bottom	      (void);
Prototype void do_firstcolumn	      (void);
Prototype void do_firstnb	      (void);
Prototype void do_lastcolumn	      (void);
Prototype void do_goto		      (void);
Prototype void do_screentop	      (void);
Prototype void do_screenbottom	      (void);
Prototype void do_wleft 	      (void);
Prototype void do_wright	      (void);
Prototype void do_col		      (void);
Prototype void do_scroll	      (int);
Prototype void do_match 	      (void);
Prototype void do_ping		      (void);
Prototype void do_pong		      (void);
Prototype void do_undo		      (void);
Prototype int  get_pong 	      (int);
Prototype void escapecomlinemode      (void);
Prototype void do_esc		      (void);
Prototype void do_recall	      (void);
Prototype void markerkill	      (ED *);
Prototype char	* HistoBuff[];
Prototype WORD	  NumHistoLines;
Prototype WORD	  HistoLine;
Prototype int get_char (ED * ep, struct pos * curr, int dir);

/* drexx.c              */

Prototype ULONG RexxMask;
Prototype int foundcmd; /* control for implicit ARexx macro invocation	 */
Prototype int cmderr;	/* global command error flag for do_rexx()'s use */
Prototype void	 openrexx	     (void);
Prototype void	 closerexx	     (void);
Prototype void	 do_rx		     (void);
Prototype void	 do_rx1 	     (void);
Prototype void	 do_rx2 	     (void);
Prototype long	 do_rxImplied	     (char *, char *);
Prototype void	 extern_rexx_command (void);
Prototype void	 to_port	     (void);
Prototype void	 select_window	     (void);
Prototype void	 project_info	     (void);
Prototype int	 load_project	     (void);
Prototype void	 save_project	     (void);
Prototype void	 put_rexx_result     (void);
Prototype char * get_rexx_result     (void);
Prototype long	 do_rexx	     (const char * port, const char *fmt, ...);

/* edit.c               */

Prototype void do_bs	     (void);
Prototype void do_del	     (void);
Prototype void do_remeol     (void);
Prototype void do_split      (void);
Prototype int  do_join	     (void);
Prototype void do_reformat   (int);
Prototype void do_insertmode (void);
Prototype void do_insline    (void);
Prototype void do_deline     (void);
Prototype void do_tlate      (void);
Prototype void do_justify    (void);
Prototype void do_unjustify  (void);
Prototype void do_indent     (void);
Prototype void do_inslines   (void);
Prototype void do_delete     (void);
Prototype void do_delines    (void);
Prototype void do_undeline   (void);
Prototype void do_space      (void);
Prototype void do_clipins    (void);
Prototype void do_return     (void);

/* filereq.c            */

Prototype void do_pattern    (void);
Prototype void do_aslload    (void);
Prototype int  aslsave	     (void);
Prototype void do_aslinsfile (void);
Prototype void do_aslfont    (void);
Prototype void do_reqload    (void);
Prototype int  reqsave	     (void);
Prototype void do_reqinsfile (void);
Prototype void do_reqfont    (void);
Prototype void splitpath     (char *, char *, char *);
Prototype void fixdirname    (char *);
Prototype struct FileRequester	 * FReq;
Prototype struct ReqToolsBase	 * ReqToolsBase;
Prototype struct rtFileRequester * RFReq;

/* flags.c              */

Prototype int	 test_arg  (char*, int);
Prototype char * GetFlag   (char*, char*, int, char*);
Prototype char	 SetFlag   (char*, char*, char*, int, char*);
Prototype int	 IsFlagSet (char*, int, int);

/* globals.c            */

Prototype LIST	    DBase;
Prototype ED	  * Ep;
Prototype struct Config default_config;
Prototype struct GlobalFlags globalflags;
Prototype long	    Nsu;
Prototype UBYTE     CtlC;
Prototype UBYTE     Current[MAXLINELEN];
Prototype UBYTE     Deline[MAXLINELEN];
Prototype UBYTE     Space[32];
Prototype Column    Clen;
Prototype UBYTE   * Partial;
Prototype UBYTE   * esc_partial;
Prototype UBYTE   * String;
Prototype Block     ActualBlock;
Prototype UWORD     ColumnPos[MAXLINELEN];
Prototype UWORD     RowPos[MAXROWS];
Prototype UWORD     Xsize;
Prototype UWORD     Ysize;
Prototype UWORD     XTbase;
Prototype UWORD     YTbase;
Prototype UWORD     Lines;
Prototype UWORD     Columns;
Prototype UWORD     Xbase;
Prototype UWORD     Ybase;
Prototype UWORD     Xpixs;
Prototype UWORD     Ypixs;
Prototype UWORD     LineDistance;
Prototype UBYTE   * av[];
Prototype WORD	    PageJump;
Prototype UBYTE     RexxPortName[8];
Prototype UBYTE     tmp_buffer[256];
Prototype UWORD     NumClicks;
Prototype ULONG     LoopCont;
Prototype ULONG     LoopBreak;
Prototype ULONG     MacroRecord;
Prototype struct IntuitionBase * IntuitionBase;
Prototype struct GfxBase       * GfxBase;
Prototype struct Library       * IconBase;
Prototype struct Library       * AslBase;
Prototype struct DOSBase       * DOSBase;
Prototype struct WBStartup     * Wbs;

/* hrexx.c              */

Prototype ULONG 	       OpenRexx 	    (char *, const char *, __stkargs void (*do_res)(struct RexxMsg *), BPTR, BPTR);
Prototype BOOL		       CloseRexx	    (void);
Prototype long		       LastRexxError	    (void);
Prototype struct RexxMsg     * BuildRexxMsg	    (const char *, const long, char *, ...);
Prototype BOOL		       RemoveRexxMsg	    (struct RexxMsg *);
Prototype BOOL		       PutRexxMsg	    (char *, struct RexxMsg *);
Prototype struct RexxMsg     * GetRexxMsg	    (void);
Prototype struct RexxMsg     * FetchRexxMsg	    (void);
Prototype BOOL		       ReplyRexxMsg	    (struct RexxMsg *, long, char *);
Prototype long		       SyncRexxCommand	    (const char *, const char *, char *, long, char *, ...);
Prototype __stkargs void       RexxMessageHandler   (struct RexxMsg *);
Prototype void		     * ChangeProcessMessage (__stkargs void (*new_func)(struct RexxMsg *));
Prototype struct RexxCommand * SetRexxCommandTable  (struct RexxCommand *);
Prototype long		       ModifyRepCount	    (long);
Prototype BOOL		       AttempCloseRexx	    (void);

/* io.c                 */

Prototype void do_edit	     (void);
Prototype int  do_bappendsave(void);
Prototype int  do_bsave      (void);
Prototype int  do_barpsave   (void);
Prototype int  do_appendsave (void);
Prototype int  do_save	     (void);
Prototype int  do_saveas     (void);
Prototype int  do_aslsave    (void);
Prototype int  do_reqsave    (void);
Prototype int  saveit	     (const char *);
Prototype void do_cd	     (void);

/* keyaddes.c           */

Prototype long ext_qualifiers;
Prototype int  qualifier (char *);

/* keycodes.c           */

Prototype int	 get_codequal	(const UBYTE * str, UBYTE * pcode, UWORD * pqual);
Prototype char * cqtoa		(int code, int qual);
Prototype UWORD  iqual2qual	(unsigned long qual, int blen, char * buf, int code);
Prototype long	 qual2iqual	(UWORD qual);
Prototype int	 a2iqual	(char * str, long * piqual);
Prototype char * iqual2a	(long iqual);
Prototype UBYTE  CtoA		(char c);
Prototype void	 keyboard_init	(void);
Prototype void	 init_kb	(void);
Prototype void	 exit_kb	(void);
Prototype struct Library * ConsoleDevice;
Prototype int	 DeadKeyConvert (struct IntuiMessage * msg, UBYTE * buf, int bufsize, struct KeyMap * keymap);

/* keycom.c             */

Prototype void do_map	    (void);
Prototype void do_unmap     (void);
Prototype void do_keyload   (void);
Prototype void do_keysave   (void);
Prototype void do_qualifier (void);
Prototype char*keyspectomacro(char*);
Prototype void do_new_keytable (void);
Prototype void do_del_keytable (void);
Prototype void do_use_keytable (void);

/* keycontrol.c         */

Prototype void keyctl (struct IntuiMessage *, int, ULONG);  /* PATCH_NULL [14 Feb 1993] : changed to void */

/* keytables.c          */

Prototype void	 keyload	(KEYTABLE * kt, char * name);
Prototype void	 keysave	(KEYTABLE * kt, char * name);
Prototype int	 loadkeys	(KEYTABLE * kt, FILE * fi, int * lineno);
Prototype int	 savekeys	(KEYTABLE * kt, FILE * fo);
Prototype HASH * findhash	(KEYTABLE * kt, UBYTE code, UWORD qual);
Prototype APTR	 keyspec2macro	(KEYTABLE * kt, char * str);
Prototype int	 resethash	(KEYTABLE * kt);
Prototype int	 unmapkey	(KEYTABLE * kt, char * key);
Prototype int	 mapkey 	(KEYTABLE * kt, char * key, char * value);
Prototype int	 remhash	(KEYTABLE * kt, UBYTE code, UWORD mask, UWORD qual);
Prototype int	 addhash	(KEYTABLE * kt, UBYTE code, UWORD mask, UWORD qual, const UBYTE * comm, const UBYTE * help);
Prototype void	 dealloc_hash	(KEYTABLE * kt);
Prototype KEYTABLE * get_keytable    (char * name);
Prototype KEYTABLE * new_keytable    (char * name, int defaults);
Prototype void	     delete_keytable (KEYTABLE * kt, int force);
Prototype void	     exit_keytables (void);

/* macros.c             */

Prototype UBYTE * GetArg      (int);
Prototype UBYTE * CommandName (void);
Prototype void clear_record	(void);
Prototype void start_recording	(void);
Prototype void end_recording	(void);
Prototype void replay_record	(void);
Prototype void do_saverecord	(void);
Prototype void add_record	(char * string);

/* main.c               */

Prototype int  main	  (int, char **);
Prototype void do_tomouse (void);
Prototype void exiterr	  (char *);
Prototype int  breakcheck (void);
Prototype void breakreset (void);
Prototype void ops	  (char **);
Prototype BOOL loadfile   (BPTR, char *);
Prototype struct MsgPort  * Sharedport;
Prototype char		    MShowTitle;
Prototype char		    noadj;
Prototype struct GfxBase  * GfxBase;
Prototype struct __XDMEArgs XDMEArgs;
Prototype void OptimizedRefresh (ED *);

/* math.c               */

Prototype char	  MathInfix;
Prototype void	  do_unnamedmathfunc(void);
Prototype void	  do_namedmathfunc  (void);
Prototype void	  do_infixmode	    (void);
Prototype void	  do_swapV	    (void);

/* mem.c                */

Prototype APTR	 AllocFunc  (long, long);
Prototype void	 FreeFunc   (APTR, long);
Prototype void	 DeallocFunc(char *);
Prototype char * DupFunc    (char *, long);

/* menu_dme.c           */

Prototype void menuon	    (MENUSTRIP * ms, struct Window * win);
Prototype void menuoff	    (MENUSTRIP * ms, struct Window * win);
Prototype void menu_strip   (MENUSTRIP * ms, struct Window * Win);
Prototype void menuload     (MENUSTRIP * ms,  char * fname);
Prototype void menusave     (MENUSTRIP * ms,  char * fname);
Prototype void fixmenu	    (MENUSTRIP * ms, struct Window * win);

/* menucom.c            */

Prototype void do_delmenu   (void);
Prototype void do_delitem   (void);
Prototype void do_delitembar(void);
Prototype void do_delsub    (void);
Prototype void do_delsubbar (void);
Prototype void do_itembar   (void);
Prototype void do_itemcheck (void);
Prototype void do_itemadd   (void);
Prototype void do_subadd    (void);
Prototype void do_subcheck  (void);
Prototype void do_subbar    (void);
Prototype void do_menuoff   (void);
Prototype void do_menuon    (void);
Prototype void do_menuload  (void);
Prototype void do_menusave  (void);
Prototype char*menutomacro  (char*);
Prototype void do_menuclear (void);
Prototype void do_getcheckitem (void);
Prototype void do_getchecksub  (void);
Prototype void do_setcheckitem (void);
Prototype void do_setchecksub  (void);
Prototype void do_new_menustrip (void);
Prototype void do_del_menustrip (void);
Prototype void do_use_menustrip (void);

/* menucontrol.c        */

Prototype APTR menu_cmd (struct IntuiMessage * im);

/* menustrips.c         */

Prototype void		menuclear   (MENUSTRIP * ms);
Prototype int		menudel     (MENUSTRIP * ms, char * tname);
Prototype int		itemdel     (MENUSTRIP * ms, char * tname, char * iname);
Prototype int		subdel	    (MENUSTRIP * ms, char * tname, char * iname, char * sname);
Prototype XITEM *	itemadd     (MENUSTRIP * ms, char * tname, char * iname,               char * macro, char * help, int check);
Prototype XITEM *	subadd	    (MENUSTRIP * ms, char * tname, char * iname, char * sname, char * macro, char * help, int check);
Prototype int		loadmenus   (MENUSTRIP * ms, FILE * fi, int * lineno);
Prototype int		savemenus   (MENUSTRIP * ms, FILE * fo);
Prototype int		chkitemcheck(MENUSTRIP * ms, char * tname, char * iname);
Prototype int		chksubcheck (MENUSTRIP * ms, char * tname, char * iname, char * sname);
Prototype int		setitemcheck(MENUSTRIP * ms, char * tname, char * iname,               int status);
Prototype int		setsubcheck (MENUSTRIP * ms, char * tname, char * iname, char * sname, int status);
Prototype APTR		menu2macro  (MENUSTRIP * ms, char * str);
Prototype MENUSTRIP * get_menustrip    (char * name);
Prototype MENUSTRIP * new_menustrip    (char * name, int defaults);
Prototype void	     delete_menustrip (MENUSTRIP * kt, int force);
Prototype void	     exit_menustrips (void);

/* mikro.c              */

Prototype void	  do_viewmode (void);
Prototype void	  do_eval     (void);
Prototype void	  do_unfail   (void);
Prototype void	  do_quiet    (void);
Prototype void	  do_untitle  (void);
Prototype void	  do_force    (void);
Prototype void	  do_abort    (void);
Prototype void	  do_unabort  (void);
Prototype void	  do_insertwrite(void);
Prototype void	  do_break     (void);
Prototype void	  do_continue  (void);
Prototype void	  clearcont    (void);
Prototype void	  clearbreak   (void);
Prototype void	  clearbreaks  (void);
Prototype void	  do_simpletabs  (void);
Prototype void	  do_activefront (void);
Prototype void	  do_sourcebreak (void);
Prototype void	  do_windowcyc	 (void);

/* prefs.c              */

Prototype void do_margin	  (void);
Prototype void do_wordwrap	  (void);
Prototype void do_global	  (void);
Prototype void do_setparcol	  (void);
Prototype void do_tabstop	  (void);
Prototype void do_chfilename	  (void);
Prototype void do_savetabs	  (void);
Prototype void do_setfont	  (void);
Prototype void do_ignorecase	  (void);
Prototype void loadconfig	  (ED *);
Prototype void do_saveconfig	  (void);
Prototype void do_fgpen 	  (void);
Prototype void do_bgpen 	  (void);
Prototype void do_hgpen 	  (void);
Prototype void do_bbpen 	  (void);
Prototype void do_tpen		  (void);
Prototype void do_modified	  (void);
Prototype void do_autoindent	  (void);
Prototype void do_sizewindow	  (void);
Prototype void do_autosplit	  (void);
Prototype void do_taskpri	  (void);
Prototype void do_debug 	  (void);
Prototype void do_autounblock	  (void);
Prototype void do_followcursor	  (void);
Prototype void do_setlinedistance (void);

/* redraw.c             */

Prototype void	 redraw_block		(BOOL, Line, Column, Line, Column);

/* refs.c               */

Prototype void path_init   (void);
Prototype void do_addpath  (void);
Prototype void do_rempath  (void);
Prototype void do_refctags (void);
Prototype void do_ctags    (void);
Prototype void do_refs	   (void);
Prototype int searchref    (char *, char *, char **, char **, long *, char **);
Prototype int dirpart	   (char *);
Prototype LIST PBase;

/* search.c             */

Prototype void do_findstr	(void);
Prototype void do_findr 	(void);
Prototype void do_find		(void);
Prototype void do_replace	(void);
Prototype void search_operation (void);

/* simplex.c            */

Prototype void * currentmenu  (void); /* muss neu besetzt werden bei jeder Veraenderung des aktuellen Textes */
Prototype void * currenthash  (void); /* muss neu besetzt werden bei jeder Veraenderung des aktuellen Textes */
Prototype void * currentwindow(void); /* muss neu besetzt werden bei jeder Veraenderung des aktuellen Textes */
Prototype void	 init_structures (void);

/* smallspc.c           */

Prototype char* GetSpecialVar (char* Name);
Prototype char* GetSpecialInt (char* Name);
Prototype char* GetSpecialFlag(char* Name);
Prototype char SetSpecialFlag(char* Name, char* Value);
Prototype char SetSpecialInt (char* Name, char* Value);
Prototype char SetSpecialVar (char* Name, char* Value);
Prototype void do_togglespecialflag(void);
Prototype void do_setspecialvar(void);
Prototype char* current_word (void);

/* subs.c               */

Prototype void	 makemygadget	 (struct Gadget *);
Prototype int	 firstns	 (char *);
Prototype int	 lastns 	 (char *);
Prototype int	 wordlen	 (char *);
Prototype BOOL	 getpathto	 (BPTR, char *, char *);
Prototype LINE	 allocline	 (long);
Prototype int	 detab		 (char *, char *, int);
Prototype int	 xefgets	 (FILE *, char *, int);
Prototype ED   * finded 	 (char *, int);
Prototype void	 mountrequest	 (int);
Prototype FONT * GetFont	 (char *, WORD);
Prototype void	 freeline	 (LINE);
Prototype void	 movetocursor	 (void);
Prototype int	 extend 	 (ED *, int);
Prototype int	 makeroom	 (int);
Prototype void	 freelist	 (LINE *, int);
Prototype long	 lineflags	 (int);
Prototype void	 scroll_display  (WORD, WORD , Column, Line, Column, Line);
Prototype char * skip_whitespace (char *);
Prototype char	 is_number	 (char *);
Prototype char * getnextcomline  (FILE *, int *);
Prototype char * fname		 (char *);
Prototype BOOL	 switch_ed	 (ED *);
Prototype void	 do_makecursorvisible (void);
Prototype void	 MakeRectVisible (WIN *, UWORD, UWORD, UWORD, UWORD);
Prototype int	 LINELEN	 (ED *, Line);
Prototype void swapmem (void *, void *, ULONG);

/* text.c               */

Prototype ED	* uninit_init		 (ED *);
Prototype int	  setpen		 (Line, Column);
Prototype WORD	  inversemode		 (int);
Prototype void	  text_cursor		 (int);
Prototype int	  text_init		 (ED *, WIN *, struct NewWindow *);
Prototype BOOL	  text_switch		 (struct Window *);
Prototype BOOL	  text_sync		 (void);
Prototype BOOL	  text_adjust		 (BOOL);
Prototype void	  text_load		 (void);
Prototype int	  text_colno		 (void);
Prototype int	  text_lineno		 (void);
Prototype int	  text_lines		 (void);
Prototype int	  text_cols		 (void);
Prototype int	  text_imode		 (void);
Prototype int	  text_tabsize		 (void);
Prototype UBYTE * text_name		 (void);
Prototype void	  text_uninit		 (void);
Prototype void	  text_position 	 (int, int);
Prototype void	  text_redisplaycurrline (void);
Prototype void	  do_redisplay		 (void);
Prototype void	  text_redisplay	 (void);
Prototype void	  text_write		 (UBYTE *);
Prototype void	  text_displayseg	 (int, int);
Prototype void	  text_redraw_cmdline	 (void);
Prototype void	  text_redrawblock	 (BOOL);
Prototype void	  redraw_text		 (Line, Line);
Prototype void	  redraw_textlineseg	 (Line, Column, Column);
Prototype void	  redraw_lineseg	 (UBYTE *, UWORD, Column, Column);

/* vars.c               */

Prototype void	    init_variables  (void);
Prototype char *    GetTypedVar     (char *, int *);
Prototype void	    SetTypedVar     (char *, char *, int);
Prototype void	    do_set	    (void);
Prototype void	    do_unset	    (void);
Prototype void	    do_setenv	    (void);
Prototype void	    do_unsetenv     (void);
Prototype void	    do_settvar	    (void);
Prototype void	    do_unsettvar    (void);
Prototype int	    is_tflagset     (int);              /* Proto'd for access from control.c */
Prototype int	    is_gflagset     (int);              /* Proto'd for access from control.c */
Prototype void	    do_flag	    (void);
Prototype void	    do_toggleflag   (void);
Prototype char *    getvar	    (char *);

/* varsbases.c          */

Prototype TNODE * FindTreeNode	     ( TNODE ** tree, char * name );
Prototype TNODE * AddTreeNode	     ( TNODE ** tree, TNODE * obj );
Prototype TNODE * RemTreeNode	     ( TNODE ** tree, TNODE * obj );
Prototype void	 DelAllVarsFromTree ( VARS ** tree );
Prototype void	 DelVarFromTree     ( VARS ** tree, char * name );
Prototype char * GetVarFromTree     ( VARS ** tree, char * name );
Prototype void	 SetVarIntoTree     ( VARS ** tree, char * name, char * value );
Prototype char* names2string   ( MLIST* list, char* buffer, char delimiter, void* filter );  /* assumes buffer is 1/4k * BUFFERS chgars long */
Prototype int	numnodes       ( MLIST* list );
Prototype NODE* findnode       ( MLIST* list, char* name, WORD  len );
Prototype void	DelAllVarsFromList ( MLIST* list );
Prototype void	DelVarFromList ( MLIST* list, char* name );
Prototype char* GetVarFromList ( MLIST* list, char* name );
Prototype void	SetVarIntoList ( MLIST* list, char* name, char* value );

/* varstack.c           */

Prototype void do_pushVAR  (void);
Prototype void do_pickVAR  (void);
Prototype void do_popVAR   (void);
Prototype void do_swapVAR  (void);
Prototype void do_purgeVAR (void);

/* win.c                */

Prototype void		  do_iconify	    (void);
Prototype void		  iconify	    (void);
Prototype void		  uniconify	    (void);
Prototype void		  do_newwindow	    (void);
Prototype void		  do_openwindow     (void);
Prototype struct Window * TOpenWindow	    (struct NewWindow *);
Prototype struct Window * opensharedwindow  (struct NewWindow *);
Prototype void		  closesharedwindow (struct Window *);
Prototype int		  getyn 	    (char *, char *, char *, ...);
Prototype void		  title 	    (char *, ...);
Prototype void		  window_title	    (void);
Prototype void		  set_window_params (void);
Prototype void		  do_resize	    (void);
Prototype char		* geoskip	    (char *, int *, int *);
Prototype void		  prop_adj	    (void);
Prototype struct PropGadget * add_prop	    (struct Window *);
Prototype void		  free_prop	    (struct PropGadget *);
Prototype void		  rem_prop	    (ED *);
Prototype void		  rest_prop	    (ED *);
Prototype ULONG 	  new_top	    (void);
Prototype void		  GeometryToNW	    (char *, struct NewWindow *);
Prototype void		  do_title	    (void);
Prototype void		  do_showlog	    (void);
Prototype void		  error 	    (char *, ...);
Prototype void		  warn		    (char *, ...);
Prototype void		  do_setgeometry    (void);
Prototype void		  do_toback	    (void);
Prototype void		  do_tofront	    (void);

/* swap.a               */


/* wildcmp.a            */

