Clear the contents of this instance Arguments: None Returns: None

Return TypeFunction nameArguments
voidhzUrl::Clear(void)

Declared in file: hzUrl.h
Defined in file : hzUrl.cpp

Function Logic:

0:START 1:unknown 2:thisCtl 3:unknown 4:items 5:unknown 6:items 7:items 8:unknown 9:items 10:m_addr 11: No text

Function body:

void hzUrl::Clear (void)
{
   //  Clear the contents of this instance
   //  
   //  Arguments: None
   //  Returns: None
   _url_space* thisCtl ;   //  This URL space
   if (m_addr)
   {
       thisCtl = _urlXlate(m_addr) ;
       if (_hzGlobal_MT)
       {
           __sync_add_and_fetch(&(thisCtl->m_copy), -1);
           if (!thisCtl->m_copy)
               _urlFree(m_addr, thisCtl->m_lenRes + thisCtl->m_lenProt + thisCtl->m_lenDom + thisCtl->m_lenPort + URL_FACTOR) ;
       }
       else
       {
           thisCtl->m_copy-- ;
           if (!thisCtl->m_copy)
               _urlFree(m_addr, thisCtl->m_lenRes + thisCtl->m_lenProt + thisCtl->m_lenDom + thisCtl->m_lenPort + URL_FACTOR) ;
       }
       m_addr = 0;
   }
}