Added some new methods and APIs for dealing with directory access - needed by dbshell utility.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@102 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -5191,6 +5191,27 @@ Exit:
|
||||
return( rc);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Desc:
|
||||
****************************************************************************/
|
||||
RCODE FlmAllocDirHdl(
|
||||
F_DirHdl ** ppDirHdl)
|
||||
{
|
||||
RCODE rc = FERR_OK;
|
||||
|
||||
flmAssert( ppDirHdl && *ppDirHdl == NULL);
|
||||
|
||||
if( (*ppDirHdl = f_new F_DirHdlImp) == NULL)
|
||||
{
|
||||
rc = RC_SET( FERR_MEM);
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
Exit:
|
||||
|
||||
return( rc);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
Desc:
|
||||
****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user