/*
 * philsworld.h - routines for maintaining the screen image of the dining
 * philosophers' world
 *
 */

#ifndef __PHILSWORLD_H__
#define __PHILSWORLD_H__
#ifdef __cplusplus
extern "C" {
#endif    

/*
 * This routine must be called exactly once at program startup
 */

void init_screen( void );

/*
 * Draw philosopher (number n) thinking, hungry or eating.
 *
 * When we draw him eating, we also update his eat count on screen.
 */

void draw_thinking( unsigned n );
void draw_hungry( unsigned n );
void draw_eating( unsigned n, unsigned eat_count );

#ifdef __cplusplus
}
#endif    
#endif /* __PHILSWORLD_H__ */
