| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hzDeltaClient::InitOnce | (hzString&,) |
Declared in file: hzDelta.h
Defined in file : hzDelta.cpp
Function Logic:
Function body:
hzEcode hzDeltaClient::InitOnce (hzString& pathname)
{
_hzfunc("hzDeltaClient::InitOnce") ;
FSTAT fs ;
if (m_AppDescFile)
return hzerr(E_DUPLICATE, "Illegal repeat call") ;
if (lstat(*pathname, &fs) < 0)
return hzerr(E_NOTFOUND, "Cannot stat application profile file [%s]", *pathname) ;
m_AppDescFile = pathname ;
return E_OK ;
}