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

TABLE OF CONTENTS

  1. lib5250/tn5250_stream_open
  2. lib5250/tn5250_stream_host
  3. lib5250/tn5250_stream_config
  4. lib5250/tn5250_stream_destroy
  5. lib5250/tn5250_stream_get_record
  6. lib5250/tn5250_stream_setenv
  7. lib5250/tn5250_stream_getenv
  8. lib5250/tn5250_stream_unsetenv

lib5250/tn5250_stream_open

NAME
    tn5250_stream_open
SYNOPSIS
    ret = tn5250_stream_open (to);
INPUTS
    const char *         to         - `URL' of host to connect to.
DESCRIPTION
    Opens a 5250 stream to the specified host.  URL is of the format 
    [protocol]:host:[port], where protocol is currently one of the following:

       telnet - connect using tn5250 protocol
       tn5250 - connect using tn5250 protocol
       debug  - read recorded session from debug file

    This is maintained by a protocol -> function mapping.  Each protocol has
    an associated function which is responsible for initializing the stream.
    Stream initialization sets up protocol specific functions to handle
    communication with the host system.

    The next protocol to add is SNA.  This will allow the emulator to use 
    APPC (LU 6.2) to establish a session with the AS/400.

lib5250/tn5250_stream_host

NAME
    tn5250_stream_host
SYNOPSIS
    ret = tn5250_stream_host (masterSock);
INPUTS
    SOCKET_TYPE masterSock      -       Master socket
DESCRIPTION
    DOCUMENT ME!!!

lib5250/tn5250_stream_config

NAME
    tn5250_stream_config
SYNOPSIS
    tn5250_stream_config (This, config);
INPUTS
    Tn5250Stream *       This       - Stream object.
    Tn5250Config *       config     - Configuration object.
DESCRIPTION
    Associates a stream with a configuration object.  The stream uses the
    configuration object at run time to determine how to operate.

lib5250/tn5250_stream_destroy

NAME
    tn5250_stream_destroy
SYNOPSIS
    tn5250_stream_destroy (This);
INPUTS
    Tn5250Stream *       This       - 
DESCRIPTION
    DOCUMENT ME!!!

lib5250/tn5250_stream_get_record

NAME
    tn5250_stream_get_record
SYNOPSIS
    ret = tn5250_stream_get_record (This);
INPUTS
    Tn5250Stream *       This       - 
DESCRIPTION
    DOCUMENT ME!!!

lib5250/tn5250_stream_setenv

NAME
    tn5250_stream_setenv
SYNOPSIS
    tn5250_stream_setenv (This, name, value);
INPUTS
    Tn5250Stream *       This       - 
    const char *         name       -
    const char *         value      -
DESCRIPTION
    Set an 'environment' string.  This is made to look like setenv().

lib5250/tn5250_stream_getenv

NAME
    tn5250_stream_getenv
SYNOPSIS
    ret = tn5250_stream_getenv (This, name);
INPUTS
    Tn5250Stream *       This       - 
    const char *         name       - 
DESCRIPTION
    Retrieve the value of a 5250 environment string.

lib5250/tn5250_stream_unsetenv

NAME
    tn5250_stream_unsetenv
SYNOPSIS
    tn5250_stream_unsetenv (This, name);
INPUTS
    Tn5250Stream *       This       - 
    const char *         name       - 
DESCRIPTION
    Unset a 5250 environment string.