/* FSMIO.H * ==================================================================== * Include file for C Sources requiring the use of FSMIO.C code. */ /* DEFINES * ==================================================================== */ typedef struct _fdata { char pagesize[20]; char frez[20]; char fdpi[20]; }FDATA; /* PROTOTYPES * ==================================================================== */ void get_bitpath( void ); int read_fonts( void ); FON_PTR find_font( char *userstring ); void ClearDeviceFont( DEV_PTR device ); void add_to_device( DEV_PTR device, FON_PTR font ); void remove_from_device( DEV_PTR device, FON_PTR font ); DEV_PTR find_device( int devnum ); DEV_PTR AddNewDevice( int devnum ); void write_assign( void ); int find_driver( char *userstring ); int FindCDriverIndex( int dindex ); FON_PTR FindFont( FON_PTR item ); /* EXTERNS * ==================================================================== */ extern char bitmap_path[]; /* Bitmap Font Path */ extern FON_PTR bit_list; extern FON_PTR bit_last; extern int bit_count; extern FON font_arena[]; extern DEV devices[]; /* Devices */ extern int device_count; /* # devices we know about */ extern DEV_PTR current_device; /* Device pointer */ extern DEV_PTR device_head; extern char drivers[][14]; /* Driver names */ extern int driver_count; /* Number of drivers */ extern FON temp_fon[]; extern FON_PTR first_font; extern char cdrivers[][ 30 ]; /* Driver names for Front Panel */ extern int cdriver_array[]; /* Index for cdriver into drivers.*/ extern int cdriver_count; extern int cur_cdriver; extern FDATA cdriver_data[];