mysac_decode_row.h File Reference

#include "mysac.h"

Include dependency graph for mysac_decode_row.h:

Go to the source code of this file.

Functions

int mysac_decode_binary_row (char *buf, int len, MYSAC_RES *res, MYSAC_ROWS *row)
int mysac_decode_string_row (char *buf, int len, MYSAC_RES *res, MYSAC_ROWS *row)


Detailed Description


Function Documentation

int mysac_decode_binary_row ( char *  buf,
int  len,
MYSAC_RES res,
MYSAC_ROWS row 
)

This decode mysql row binary format packet

Parameters:
buf is the buffer containing packet the strings stored into col, are allocated into this buffer
len is the length of the packet
res is valid MYSAC_RES
row is valid col struct space for storing pointers and values
Returns:
the len of the buffer used for storing data or -1 if the packet is corrupted

int mysac_decode_string_row ( char *  buf,
int  len,
MYSAC_RES res,
MYSAC_ROWS row 
)

This decode mysql row string format packet

Parameters:
buf is the buffer containing packet the strings stored into col, are allocated into this buffer
len is the length of the packet
res is valid MYSAC_RES
row is valid col struct space for storing pointers and values
Returns:
the len of the buffer used for storing data or -1 if the packet is corrupted


Generated on Fri Jan 14 01:56:15 2011 for mysac by  doxygen 1.5.6