Exemplo n.º 1
0
/**
 * \brief Wrapper for consume input socket function
 *
 */
int Input_Buffer_ConsumeDataStream(int nBytesToConsume)
{
  dataInBuffer += nBytesToConsume;
  gpsSinSeek(host_inBuff, nBytesToConsume);
  return (nBytesToConsume);
  
	return 1;
}
Exemplo n.º 2
0
/**
 * \brief Wrapper for consume input socket function
 *
 */
int Input_Buffer_ConsumeDataStream(int nBytesToConsume)
{
  if(gpsSinSeek(host_inBuff, nBytesToConsume) != 0)
  {
	printf("gpsSinSeek() Failed..\n");
	return 0;
  }
  return (nBytesToConsume);
}