/* We really shouldn't be doing this unless there is a  */
static u32 add_byte(u32 **p_buffer, u8 value, u32 *used, u32 *avail)
/* We really shouldn't be doing this unless there is a  */
static u32 add_byte(u32 **p_buffer, u8 value, u32 *used, u32 *avail)
{
	u8 **tByte;
	if ((*used + 1) > *avail)
		return(1);
	*((u8*)*p_buffer) = value;
	tByte = (u8**)p_buffer;
	(*tByte)++;
	*used+=1;
	return(0);
}