/* $Header: /bioy2/biocomputing/doelz/development/jam/RCS/jamproto.h,v 2.0 1995/07/23 08:56:55 doelz Exp doelz $ */
/* 
         ***********************************************************
         *                                                         *
         *                         J A M                           * 
         *        J u s t   A n o t h e r   M e t a f i l e        *
         *                                                         *
         ***********************************************************

        --- SEE MAIN PROGRAM (JAM.C) FOR COPYRIGHT AND DEFINITION ---
*/           
 
#ifdef JAMGUI
void TurnOnDefines (void);                       /* if Defines are turned on */
void Jam_HTML (void);                            /* a HTML option executer */ 
void Jam_SINGLE (void);                          /* RTF option exectuor */ 
void jamstart(ButtoN dummy);                     /* Main without vibrant */
void MakeOptionalWindow (WindoW w2);             /* make an options window */ 
void JAM_modus (PopuP popModus);                 /* the modus is HTML, RTF or LATEX */ 
void AboutClose(WindoW about);			         /* the close handler for about window */ 
void QuitProc (IteM i);                          /* quitting the program */ 
void RunSelect (GrouP h);                        /* to run or call the option window */ 
void CreateSelectBehaviour (WindoW w);           /* selection of HTML: reflec or none */ 
static void CreateSelectNumber (WindoW w);       /* selection of RTF: multiple/single */ 
void CreateOutputSelectFormat (WindoW w);        /* modus again, the window this time */ 
void AboutVer(IteM Dummy);                       /* Version display (message type) */ 
void AboutProc(IteM Dummy);                      /* README file display */ 
void SetupObjects (WindoW w);                    /* help to setup main window */ 
void SetupMenus (WindoW w);                      /* the setup of main windows menu */ 
void Jam_OS (void); 
void Jam_STE (void); 
#endif
int jam_parse(char *line);            /* main parser routine: Which token is it ?*/ 
int jam_init (char* filename);        /* initialization of variables */  
int readline (char* line);            /* reading lines from JAM files*/ 
int jam_write (void);                 /* crossreference files */ 
int jam_copyhtml (void);              /* HTML title file header copy*/ 
int jam_find (char *token);           /* writing a index file */
int makeachapter (char *line);        /* produce chapter heading */ 
int makeasection (char *line);        /* produce section heading */  
int makeasubsection (char *line);     /* subsection heading */ 
int process_verbatim (void);          /* no processing at all */ 
int process_special (void);           /* italics */ 
int process_emphasis (void);          /* italics in a text*/ 
int process_item(void);               /* itemization */ 
void process_reference(char* line);   /* link processing */ 
void process_link (char* currentline);/* expand links */ 
int process_anitem(char *current);    /* make a bullet */ 
int clean_latex(const i, char* interim_string, char* interim_rentline, 
		int *interim_pointer,char* linkbody); /* make LATEX print unprintables */ 
void pprint(char*  myline);           /* print a line without excessive \n and ' '*/ 
void commin(int argc, char** argv);   /* prompting interface */
int compare( const void *arg1, const void *arg2 ); /*qsort helper */  
