/** * \brief Wrapper for consume input socket function * */ int Input_Buffer_ConsumeDataStream(int nBytesToConsume) { dataInBuffer += nBytesToConsume; gpsSinSeek(host_inBuff, nBytesToConsume); return (nBytesToConsume); return 1; }
/** * \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); }