Generated from buffer.c with ROBODoc v3.2.3 on Tue Aug 21 10:13:17 2001
TABLE OF CONTENTS
- lib5250/tn5250_buffer_init
- lib5250/tn5250_buffer_free
- lib5250/tn5250_buffer_append_byte
- lib5250/tn5250_buffer_append_data
- lib5250/tn5250_buffer_log
NAME
tn5250_buffer_init
SYNOPSIS
tn5250_buffer_init (&buf);
INPUTS
Tn5250Buffer * buf - Pointer to a Tn5250Buffer object.
DESCRIPTION
Zeros internal members.
NAME
tn5250_buffer_free
SYNOPSIS
tn5250_buffer_free (&buf);
INPUTS
Tn5250Buffer * buf - Pointer to a buffer object.
DESCRIPTION
Frees variable-length data and zeros internal members.
NAME
tn5250_buffer_append_byte
SYNOPSIS
tn5250_buffer_append_byte (&buf, byte);
INPUTS
Tn5250Buffer * buf - Pointer to a buffer object.
unsigned char byte - The byte to append.
DESCRIPTION
Appends a single byte to the end of the variable-length data
and reallocates the buffer if necessary to accomodate the new
byte.
NAME
tn5250_buffer_append_data
SYNOPSIS
tn5250_buffer_append_data (&buf, data, len);
INPUTS
Tn5250Buffer * buf - Pointer to a buffer object.
unsigned char * data - Data to append.
int len - Length of data to append.
DESCRIPTION
Appends a variable number of bytes to the end of the variable-length
data and reallocates the buffer if necessary to accomodate the new
data.
NAME
tn5250_buffer_log
SYNOPSIS
tn5250_buffer_log (&buf,"> ");
INPUTS
Tn5250Buffer * buf - Pointer to a buffer object.
const char * prefix - Character string to prefix dump lines
with in log.
DESCRIPTION
Dumps the contents of the buffer to the 5250 logfile, if one is
currently open.