Return the total length of the URL (including the http:// bit) Arguments: None
| Return Type | Function name | Arguments |
|---|---|---|
| uint32_t | hzUrl::Length | (void) |
Declared in file: hzUrl.h
Defined in file : hzUrl.cpp
Function Logic:
Function body:
uint32_t hzUrl::Length (void)
{
// Return the total length of the URL (including the http:// bit)
//
// Arguments: None
// Returns: Number being length of whole URL string
_url_space* thisCtl ; // This URL space
if (!m_addr)
return 0;
thisCtl = _urlXlate(m_addr) ;
return thisCtl->m_lenRes + thisCtl->m_lenProt + thisCtl->m_lenDom + thisCtl->m_lenPort ;
}