Generated from session.h with ROBODoc v3.2.3 on Tue Aug 21 10:13:17 2001

TABLE OF CONTENTS

  1. lib5250/Tn5250Session

lib5250/Tn5250Session

NAME
    Tn5250Session
SYNOPSIS
    Tn5250Session *sess = tn5250_session_new ();
    tn5250_session_set_stream(sess, stream);
    tn5250_display_set_session(display,sess);
    tn5250_session_main_loop(sess);
    tn5250_session_destroy(sess);
DESCRIPTION
    Manages the communications session with the host and parses 5250-
    protocol communications records into display manipulation commands.
SOURCE
    struct _Tn5250Session {
       struct _Tn5250Display *              display;
       
       int (* handle_aidkey) (struct _Tn5250Session *This, int aidcode);
    
       Tn5250Stream /*@owned@*/ /*@null@*/ *stream;
       Tn5250Record /*@owned@*/ *record;
       struct _Tn5250Config *config;
       int read_opcode;     /* Current read opcode. */
       int invited;
    };
    
    typedef struct _Tn5250Session Tn5250Session;