Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

Directory Manipulation Functions
[File Information]


Functions

apr_status_t apr_dir_open (apr_dir_t **new_dir, const char *dirname, apr_pool_t *cont)
apr_status_t apr_dir_close (apr_dir_t *thedir)
apr_status_t apr_dir_read (apr_finfo_t *finfo, apr_int32_t wanted, apr_dir_t *thedir)
apr_status_t apr_dir_rewind (apr_dir_t *thedir)

Function Documentation

apr_status_t apr_dir_close apr_dir_t   thedir
 

close the specified directory.

Parameters:
thedir  the directory descriptor to close.

apr_status_t apr_dir_open apr_dir_t **    new_dir,
const char *    dirname,
apr_pool_t   cont
 

Open the specified directory.

Parameters:
new_dir  The opened directory descriptor.
dirname  The full path to the directory (use / on all systems)
cont  The pool to use.

apr_status_t apr_dir_read apr_finfo_t   finfo,
apr_int32_t    wanted,
apr_dir_t   thedir
 

Read the next entry from the specified directory.

Parameters:
finfo  the file info structure and filled in by apr_dir_read
wanted  The desired apr_finfo_t fields, as a bit flag of APR_FINFO_ values
thedir  the directory descriptor returned from apr_dir_open
Remarks:
All systems return . and .. as the first two files.

apr_status_t apr_dir_rewind apr_dir_t   thedir
 

Rewind the directory to the first entry.

Parameters:
thedir  the directory descriptor to rewind.


Generated on Thu Dec 25 11:41:05 2003 for Apache Portable Runtime by doxygen1.2.18