botsense/bsProxy/bsProxyThread.c
static BsProxyThCtl_T *ThHashGetCtl(const char *sDevUri)
{
  hnode_t       *pNode;

  if( (pNode = hash_lookup(BsThHashTbl, sDevUri)) == NULL )
  {
     return NULL;
  }
  else
  {
    return (BsProxyThCtl_T *)hnode_get(pNode);
  }
}
/*!
 * \brief Get the interface module's i/f from the module hash table.
 *
 * \param sDevUri   Proxied device hash table key.
 *
 * \return
 * On success, returns pointer to the associated thread control block.
 * On failure, returns NULL.
 */
\brief Get the interface module's i/f from the module hash table.
\param sDevUri   Proxied device hash table key.

\return
On success, returns pointer to the associated thread control block.
On failure, returns NULL.
\ brief Get the interface module ' s i / f from the module hash table . \ param sDevUri Proxied device hash table key . \ return On success returns pointer to the associated thread control block . On failure returns NULL .
static BsProxyThCtl_T *ThHashGetCtl(const char *sDevUri)
{
  hnode_t       *pNode;
  if( (pNode = hash_lookup(BsThHashTbl, sDevUri)) == NULL )
  {
     return NULL;
  }
  else
  {
    return (BsProxyThCtl_T *)hnode_get(pNode);
  }
}
static BsProxyThCtl_T * ThHashGetCtl ( const char * sDevUri ) { hnode_t * pNode ; if ( ( pNode = hash_lookup ( BsThHashTbl , sDevUri ) ) == NULL ) { return NULL ; } else { return ( BsProxyThCtl_T * ) hnode_get ( pNode ) ; } }
\brief Get the interface module's i/f from the module hash table.
\ brief Get the interface module ' s i / f from the module hash table .