hfaxd/FileSystem.c++
/*
 * Return a directory handle given a pathname.
 */
Return a directory handle given a pathname.
Return a directory handle given a pathname .
SpoolDir*
HylaFAXServer::dirLookup(const char* path)
{
    struct stat sb;
    return (!FileCache::lookup(path, sb) || !S_ISDIR(sb.st_mode) ?
	(SpoolDir*) NULL : dirLookup(sb.st_ino));
}
SpoolDir * HylaFAXServer :: dirLookup ( const char * path ) { struct stat sb ; return ( ! FileCache :: lookup ( path , sb ) || ! S_ISDIR ( sb . st_mode ) ? ( SpoolDir * ) NULL : dirLookup ( sb . st_ino ) ) ; }
Return a directory handle given a pathname.
Return a directory handle given a pathname .