/*
    ####             #    #     # #
    #   #            #    #       #          The FreeWare C library for
    #   #  ##   ###  #  # #     # ###             RISC OS machines
    #   # #  # #     # #  #     # #  #   ___________________________________
    #   # ####  ###  ##   #     # #  #
    #   # #        # # #  #     # #  #    Please refer to the accompanying
    ####   ### ####  #  # ##### # ###    documentation for conditions of use
    ________________________________________________________________________

    File:    Filing.Single.c
    Author:  Copyright  1995 Sergio Monesi
    Version: 1.00 (28 Jul 1995)
    Purpose: Reads a single directory entry
*/

#include "Desk.Core.h"
#include "Desk.Filing.h"

void	Desk_Filing_SingleDirEntry(const char *filename, Desk_filing_direntry *buf, int size)
{
 char pathname[256];
 char *leafname;

 Desk_Filing_GetPathname(filename, pathname);
 leafname=Desk_Filing_FindLeafname(filename);

 Desk_Filing_SingleDirEntry2( pathname, buf, size, leafname);
}
