Logo Search packages:      
Sourcecode: maxdb-7.5.00 version File versions

externC void sqlfopendirc ( tsp00_C256 *  dirname,
void **  dirHandleP,
tsp00_C256 *  firstname,
tsp05_RteFileError *  ferr 
)

Opens a directory for iterating over the filenames.

Parameters:
dirname [in] the directory name
dirHandleP [out] the resulting handle to be used in subsequent calls to sqlclosedirc
firstname [out] the name of the first file
ferr [out] error information
The first filename is read. Wildcards in parameter dirname are not permitted.

Definition at line 5795 of file veo06.c.

References sqlfreaddirc().

{
#undef MF__
#define MF__ MOD__"sqlfopendirc"          /* UNIX */
    DIR* dirp;
    
    eo06_clearError (ferr);
    dirp = opendir ((char *)*dirname);
    if (dirp != NULL) {
        *dirHandleP = (void*) dirp;
        sqlfreaddirc (*dirHandleP, firstname, ferr);
    }
    else {
        eo06_osError (ferr);
        *dirHandleP = NULL;
    }
}


Generated by  Doxygen 1.6.0   Back to index