hfaxd/FileSystem.c++
/*
 * Return a directory handle given an inode number.
 */
Return a directory handle given an inode number.
Return a directory handle given an inode number .
SpoolDir*
HylaFAXServer::dirLookup(ino_t ino)
{
    for (u_int i = 0, n = N(dirs); i < n; i++)
	if (dirs[i].ino == ino)
	    return (&dirs[i]);
    return (NULL);
}
SpoolDir * HylaFAXServer :: dirLookup ( ino_t ino ) { for ( u_int i = 0 , n = N ( dirs ) ; i < n ; i ++ ) if ( dirs [ i ] . ino == ino ) return ( & dirs [ i ] ) ; return ( NULL ) ; }
Return a directory handle given an inode number.
Return a directory handle given an inode number .