home *** CD-ROM | disk | FTP | other *** search
/ Computer Club Elmshorn Atari PD / CCE_PD.iso / pc / 0400 / CCE_0406.ZIP / CCE_0406.PD / FAX_DEV.KIT / FAX_OUT.H < prev    next >
C/C++ Source or Header  |  1992-04-04  |  2KB  |  56 lines

  1.  
  2. struct cookie {
  3.         long c;
  4.         long v;
  5.     };
  6.  
  7. #define FAX_COOKIE    0x46784F50L            /* "FxOP" */
  8.  
  9.  
  10.  
  11. typedef struct {
  12.                 int        version;        /* Version 1.00 -> 0x0100 */
  13.                 int        fax_ready;
  14.                 int        x_dpi;            /* X-Auflösung des Faxes    */
  15.                 int        y_dpi;            /* Y-Auflösung des Faxes    */
  16.                 long    page_height;    /* in mm */
  17.                 long    page_width;        /* in mm */
  18.                 int        tot_txtlines;    /* Seitenhöhe in Textzeilen */
  19.                 int        tot_pixlines;    /* Seitenhöhe in pixelzeilen */
  20.                 int        act_page;        /* aktuelle Seitennummer */
  21.                 int        (*init_app)(int new_page, int xres, int yres,
  22.                                     int page_len);
  23.                 void    (*exit_app)( void );
  24.                 int        (*bit_out)( void *bit_map,int width,int    height,
  25.                                     int word_width);
  26.                 int        (*txt_out)( char *string );
  27.                 int        (*lf)( void );
  28.                 int        (*ff)( void );
  29.                 int        (*page_break)( void );
  30.  
  31.                 int        cdecl (*Cinit_app)(int new_page, int xres, int yres,
  32.                                            int page_len);
  33.                 int        cdecl (*Cbit_out)( void *bit_map,int width,int    height,
  34.                                            int word_width);
  35.                 int        cdecl (*Ctxt_out)( char *string );
  36.                 int        cdecl (*Clf)( void );
  37.                 int        cdecl (*Cff)( void );
  38.                 int        cdecl (*Cpage_break)( void );
  39.                                 
  40.                 int        rsvd[20];
  41.                 /*
  42.                 *        die folgenden Daten sind zur internen Verwendung
  43.                 */
  44.                 void    (*init_syns)( char *syn_file );
  45.                 char    file_name[128];    /* Ausgabedatei */
  46.                 int        fh;                /* file handle */
  47.                 char    sig_string[128];
  48.                 int        page_empty;
  49.                 int        pix_line;
  50.                 int        txt_line;
  51.                 int        pages;
  52.                 long    max_bytes;
  53.             } FAX_OUTPUT;
  54.             
  55.              
  56.