CogniBoost/sw/libCogniBoost/cbLibDev.c
static void cbCacheForget(cbHnd_T hnd, cbTid_T uTid)
{
  cbTransInfo_T *pInfo;

  cbLock(hnd);

  pInfo = hnd->m_tblTransCache[uTid & CB_HDR_TID_MASK];

  if( pInfo != NULL )
  {
    delete(pInfo->m_pPktHdr);
    delete(pInfo->m_pBuf);
    delete(pInfo);
    hnd->m_tblTransCache[uTid & CB_HDR_TID_MASK] = NULL;
  }

  cbUnlock(hnd);
}
/*!
 * \brief Delete any cached transaction state from the cache.
 *
 * \param hnd       CogniBoost device handle.
 * \param uTid      Transaction id.
 */
\brief Delete any cached transaction state from the cache.
\param hnd       CogniBoost device handle.
\param uTid      Transaction id.
\ brief Delete any cached transaction state from the cache . \ param hnd CogniBoost device handle . \ param uTid Transaction id .
static void cbCacheForget(cbHnd_T hnd, cbTid_T uTid)
{
  cbTransInfo_T *pInfo;
  cbLock(hnd);
  pInfo = hnd->m_tblTransCache[uTid & CB_HDR_TID_MASK];
  if( pInfo != NULL )
  {
    delete(pInfo->m_pPktHdr);
    delete(pInfo->m_pBuf);
    delete(pInfo);
    hnd->m_tblTransCache[uTid & CB_HDR_TID_MASK] = NULL;
  }
  cbUnlock(hnd);
}
static void cbCacheForget ( cbHnd_T hnd , cbTid_T uTid ) { cbTransInfo_T * pInfo ; cbLock ( hnd ) ; pInfo = hnd -> m_tblTransCache [ uTid & CB_HDR_TID_MASK ] ; if ( pInfo != NULL ) { delete ( pInfo -> m_pPktHdr ) ; delete ( pInfo -> m_pBuf ) ; delete ( pInfo ) ; hnd -> m_tblTransCache [ uTid & CB_HDR_TID_MASK ] = NULL ; } cbUnlock ( hnd ) ; }
\brief Delete any cached transaction state from the cache.
\ brief Delete any cached transaction state from the cache .