mysac_decode_field.h File Reference

#include "mysac.h"

Include dependency graph for mysac_decode_field.h:

Go to the source code of this file.

Functions

int mysac_decode_field (char *buf, int len, MYSQL_FIELD *col)


Detailed Description


Function Documentation

int mysac_decode_field ( char *  buf,
int  len,
MYSQL_FIELD *  col 
)

mysac_decode_field decode field header packet

Parameters:
buf id the buffer containing packet the strings stored into col, are allocated into this buffer
len is then length of the packet
col 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