43 #include <freetds/tds.h>
44 #include <freetds/iconv.h>
45 #include <freetds/bytes.h>
46 #include <freetds/stream.h>
47 #include <freetds/checks.h>
62 const unsigned char *bufp = (
const unsigned char *)
buf;
104 if (
client->min_bytes_per_char == 1) {
106 }
else if (
client->min_bytes_per_char == 2) {
113 }
else if (
client->min_bytes_per_char == 4) {
116 while (p[0] || p[1] || p[2] || p[3])
145 cpsize = ssize > dsize ? dsize : ssize;
155 #if TDS_ADDITIONAL_SPACE < 8
201 #if TDS_ADDITIONAL_SPACE < 4
235 #if TDS_ADDITIONAL_SPACE < 2
292 #if TDS_ADDITIONAL_SPACE != 0
static const char si[8][64]
#define TDS_PUT_UA2(ptr, val)
#define TDS_PUT_UA2LE(ptr, val)
#define TDS_PUT_UA4(ptr, val)
#define TDS_PUT_UA4LE(ptr, val)
#define TDS_MARK_UNDEFINED(ptr, len)
tds_sysdep_int32_type TDS_INT
tds_sysdep_int64_type TDS_INT8
tds_sysdep_int16_type TDS_SMALLINT
tds_sysdep_uint32_type TDS_UINT
#define tds_staticin_stream_init
#define tds_convert_stream
#define tds_dataout_stream_init
unsigned int
A callback function used to compare two keys in a database.
int tds_put_string(TDSSOCKET *tds, const char *s, int len)
Output a string to wire automatic translate string to unicode if needed.
int tds_put_int8(TDSSOCKET *tds, TDS_INT8 i)
TDSRET tds_flush_packet(TDSSOCKET *tds)
Flush packet to server.
int tds_put_buf(TDSSOCKET *tds, const unsigned char *buf, int dsize, int ssize)
int tds_put_n(TDSSOCKET *tds, const void *buf, size_t n)
int tds_init_write_buf(TDSSOCKET *tds)
int tds_put_smallint(TDSSOCKET *tds, TDS_SMALLINT si)
int tds_put_byte(TDSSOCKET *tds, unsigned char c)
int tds_put_int(TDSSOCKET *tds, TDS_INT i)
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)
static CNamedPipeClient * client
unsigned int emul_little_endian
output stream to write data to tds protocol
Information relevant to libiconv.
Information for a server connection.
unsigned out_pos
current position in out_buf
unsigned char * out_buf
Output buffer.
unsigned int out_buf_max
Maximum size of packet pointed by out_buf.
input stream to read data from a static buffer
struct tdsiconvdir to from