Expand inline documentation.

This commit is contained in:
Serge van den Boom
2013-09-29 20:55:45 +02:00
parent 145309927b
commit c8527459c8
+21 -10
View File
@@ -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,