Expand inline documentation.
This commit is contained in:
+21
-10
@@ -260,7 +260,7 @@ uio_copyFilePhysical(uio_PDirHandle *fromDir, const char *fromName,
|
|||||||
* Closes fromHandle if it's not -1.
|
* Closes fromHandle if it's not -1.
|
||||||
* Removes 'toName' from 'toDir' if it's not NULL.
|
* Removes 'toName' from 'toDir' if it's not NULL.
|
||||||
* Frees 'buf' if not NULL.
|
* Frees 'buf' if not NULL.
|
||||||
* Always returns -1.
|
* Always returns -1, setting errno to 'error'.
|
||||||
*/
|
*/
|
||||||
static int
|
static int
|
||||||
copyError(int error,
|
copyError(int error,
|
||||||
@@ -605,15 +605,26 @@ uio_getPhysicalAccess(uio_DirHandle *dirHandle, const char *path,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get handles to the (existing) physical dirs that are effective in a
|
|
||||||
// path 'path' relative from 'dirHandle'
|
/**
|
||||||
// returns the PDirHandles through '*pDirHandles'. It is NULL if none
|
* Get handles to the (existing) physical dirs that are effective in a
|
||||||
// were found.
|
* path 'path' relative from 'dirHandle'
|
||||||
// If resItems != NULL, it returns the MountTreeItems belonging to those
|
*
|
||||||
// PDIrHandles through *resItems. It is NULL if none were found.
|
* @param[in] pDirHandle The physical directory to which 'path' is
|
||||||
// numPDirHandles will contain the number of PDirHandles found.
|
* relative.
|
||||||
// returns 0 if everything went ok.
|
* @param[in] path The path to get the physical dirs for, relative to
|
||||||
// returns -1 in case of an error; errno is set.
|
* 'pDirHandle'
|
||||||
|
* @param[in] pathLen The string length of 'path'.
|
||||||
|
* @param[out] resPDirHandles *resPDirHandles is set to the handles to the
|
||||||
|
* (existing) physical dirs that are effective in 'path' (relative to
|
||||||
|
* pDirHandle), or NULL if there are none.
|
||||||
|
* @param[out] resNumPDirHandles The number of PDirHandles found.
|
||||||
|
* @param[out] resItems If 'resItems' != NULL, *resItems is set to the
|
||||||
|
* MountTreeItems belonging to $pDirHandles, or NULL if none were found.
|
||||||
|
*
|
||||||
|
* @retval 0 if everything went ok.
|
||||||
|
* @retval -1 if an error occurred; #errno is set.
|
||||||
|
*/
|
||||||
int
|
int
|
||||||
uio_getPathPhysicalDirs(uio_DirHandle *dirHandle, const char *path,
|
uio_getPathPhysicalDirs(uio_DirHandle *dirHandle, const char *path,
|
||||||
size_t pathLen, uio_PDirHandle ***resPDirHandles,
|
size_t pathLen, uio_PDirHandle ***resPDirHandles,
|
||||||
|
|||||||
Reference in New Issue
Block a user