예제 #1
0
파일: psmbfile.c 프로젝트: layerfsd/cifssmb
BBOOL rtplatform_gnext(PSMBDSTAT dirobj)
{
int rv;

    rv = rtp_file_gnext(dirobj->rtp_dirobj);
    if (rv < 0)
    {
        return (0);
    }

    rtp_file_get_name(dirobj->rtp_dirobj, dirobj->filename, SMBF_FILENAMESIZE);
    dirobj->filename[SMBF_FILENAMESIZE] = '\0';

    /* translate rtplatform dstat to smb dstat  */
    rtplatform_translate_dstat(dirobj, dirobj->rtp_dirobj);
    dirobj->unicode = 0;

    return TRUE;
}
예제 #2
0
/*----------------------------------------------------------------------*
                             rtp_wfile_gnext
 *----------------------------------------------------------------------*/
int rtp_wfile_gnext (void * dirobj)
{
	return(rtp_file_gnext (dirobj));
}