home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / l / lds_10.zip / COMP / MODEL.H < prev    next >
C/C++ Source or Header  |  1990-05-25  |  657b  |  25 lines

  1. /*
  2.  * Listing 8 -- model.h
  3.  *
  4.  * This file contains all of the function prototypes and
  5.  * external variable declarations needed to interface with
  6.  * the modeling code found in model-1.c or model-2.c.
  7.  */
  8.  
  9. /*
  10.  * Eternal variable declarations.
  11.  */
  12. extern int max_order;
  13. extern int flushing_enabled;
  14. /*
  15.  * Prototypes for routines that can be called from MODEL-X.C
  16.  */
  17. void initialize_model( void );
  18. void update_model( int symbol );
  19. int convert_int_to_symbol( int symbol, SYMBOL *s );
  20. void get_symbol_scale( SYMBOL *s );
  21. int convert_symbol_to_int( int count, SYMBOL *s );
  22. void add_character_to_model( int c );
  23. void flush_model( void );
  24.  
  25.