NCBI C++ ToolKit
|
Search Toolkit Book for tds_output_stream
define a stream of data used for output More...
#include <dbapi/driver/ftds100/freetds/freetds/stream.h>
Public Attributes | |
int(* | write )(struct tds_output_stream *stream, size_t len) |
write len bytes from buffer, return <0 if error or len More... | |
char * | buffer |
write buffer. More... | |
size_t | buf_len |
size_t tds_output_stream::buf_len |
Definition at line 51 of file stream.h.
Referenced by convert(), tds_bcp_fread(), tds_convert_stream(), tds_copy_stream(), tds_dataout_stream_init(), tds_dataout_stream_write(), tds_dynamic_stream_init(), tds_dynamic_stream_write(), tds_quoteout_stream_init(), tds_staticout_stream_init(), and tds_staticout_stream_write().
char * tds_output_stream::buffer |
write buffer.
client will write data into this buffer. not required that buffer is the result of any alloc function so buffer pointer can point in the middle of another buffer. client will write up to buf_len. client should not cache buffer and buf_len before a call to write as write can change these values.
Definition at line 50 of file stream.h.
Referenced by read_and_convert(), tds_bcp_fread(), tds_convert_stream(), tds_copy_stream(), tds_dataout_stream_init(), tds_dataout_stream_write(), tds_dynamic_stream_init(), tds_dynamic_stream_write(), tds_quoteout_stream_init(), tds_staticout_stream_init(), and tds_staticout_stream_write().
int(* tds_output_stream::write)(struct tds_output_stream *stream, size_t len) |
write len bytes from buffer, return <0 if error or len
Definition at line 41 of file stream.h.
Referenced by tds7_send_login(), tds_bcp_fread(), tds_convert_stream(), tds_copy_stream(), tds_dataout_stream_init(), tds_dynamic_stream_init(), tds_quoteout_stream_init(), and tds_staticout_stream_init().