general_4.imp
上传用户:upcnvip
上传日期:2007-01-06
资源大小:474k
文件大小:2k
源码类别:

编译器/解释器

开发平台:

C/C++

  1. {IncludeFrom=general_4 <p2c/general_4.h>}
  2. {*VarStrings=0} {*ExportSymbol=P_%s} {*Export_Symbol=%s}
  3. module general_4;
  4. import    iodeclarations ;
  5. export
  6.    procedure abort_transfer ( var b_info: buf_info_type );
  7.    function  transfer_setup ( device    : type_device; t_tfr     : user_tfr_type;
  8.                               t_dir     : dir_of_tfr ; var b_info: buf_info_type ;
  9.                               t_cnt : integer ): type_isc ;
  10.    procedure transfer   ( device    : type_device; t_tfr     : user_tfr_type;
  11.                           t_dir     : dir_of_tfr ; var b_info: buf_info_type;
  12.                           x_count   : integer ) ;
  13.    procedure transfer_word ( device    : type_device; t_tfr     : user_tfr_type;
  14.                              t_dir     : dir_of_tfr ; var b_info: buf_info_type;
  15.                              x_count   : integer ) ;
  16.    procedure transfer_until ( term      : char ; device    : type_device;
  17.                               t_tfr     : user_tfr_type; t_dir     : dir_of_tfr;
  18.                               var b_info: buf_info_type ) ;
  19.    procedure transfer_end ( device    : type_device; t_tfr     : user_tfr_type;
  20.                             t_dir     : dir_of_tfr; var b_info: buf_info_type ) ;
  21.    procedure iobuffer   ( var b_info: buf_info_type ; t_count   : integer );
  22.    procedure buffer_reset(var b_info: buf_info_type ) ;
  23.    function  buffer_space( var b_info: buf_info_type): integer;
  24.    function  buffer_data( var b_info: buf_info_type): integer;
  25.    procedure readbuffer ( var b_info: buf_info_type; var value : char);
  26.    procedure writebuffer( var b_info: buf_info_type; value     : char);
  27.    procedure readbuffer_string( var b_info: buf_info_type; var str   : string;
  28.                                 str_count : integer);
  29.    procedure writebuffer_string ( var b_info: buf_info_type; str       : io_string);
  30.    function  buffer_busy( var b_info: buf_info_type ): boolean;
  31.    function  isc_busy   ( isc       : type_isc ): boolean;
  32. end.