Generated from dbuffer.h with ROBODoc v3.2.3 on Fri Aug 02 11:27:57 2002

TABLE OF CONTENTS

  1. lib5250/Tn5250DBuffer

lib5250/Tn5250DBuffer

NAME
    Tn5250DBuffer
SYNOPSIS
    Should only be accessed via the Tn5250Display object.
DESCRIPTION
    The display buffer keeps track of the current state of the display,
    including the field list, the format table header, the current
    cursor position, the home position of the cursor, and the master
    Modified Data Tag (MDT).
SOURCE
    struct _Tn5250DBuffer {
    
       /* How we keep track of multiple saved display buffers */
       struct _Tn5250DBuffer *      next;
       struct _Tn5250DBuffer *      prev;
    
       int w, h;
       int cx, cy;          /* Cursor Position */
       int tcx, tcy;                /* for set_new_ic */
       unsigned char /*@notnull@*/ *          data;
    
       /* Stuff from the old Tn5250Table structure. */
       struct _Tn5250Field /*@null@*/ *       field_list;
       int                            field_count;
       int                            master_mdt;
    
       /* Header data (from SOH order) is saved here.  We even save data that
        * we don't understand here so we can insert that into our generated
        * WTD orders for save/restore screen. */
       unsigned char *                        header_data;
       int                            header_length;
    
       /* This slot is reserved for scripting language bindings. */
       void *                         script_slot;                            
    };
    
    typedef struct _Tn5250DBuffer Tn5250DBuffer;