Generated from stream.c with ROBODoc v3.2.3 on Tue Aug 21 10:13:17 2001
TABLE OF CONTENTS
- lib5250/tn5250_stream_open
- lib5250/tn5250_stream_host
- lib5250/tn5250_stream_config
- lib5250/tn5250_stream_destroy
- lib5250/tn5250_stream_get_record
- lib5250/tn5250_stream_setenv
- lib5250/tn5250_stream_getenv
- lib5250/tn5250_stream_unsetenv
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.
NAME
tn5250_stream_host
SYNOPSIS
ret = tn5250_stream_host (masterSock);
INPUTS
SOCKET_TYPE masterSock - Master socket
DESCRIPTION
DOCUMENT ME!!!
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.
NAME
tn5250_stream_destroy
SYNOPSIS
tn5250_stream_destroy (This);
INPUTS
Tn5250Stream * This -
DESCRIPTION
DOCUMENT ME!!!
NAME
tn5250_stream_get_record
SYNOPSIS
ret = tn5250_stream_get_record (This);
INPUTS
Tn5250Stream * This -
DESCRIPTION
DOCUMENT ME!!!
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().
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.
NAME
tn5250_stream_unsetenv
SYNOPSIS
tn5250_stream_unsetenv (This, name);
INPUTS
Tn5250Stream * This -
const char * name -
DESCRIPTION
Unset a 5250 environment string.