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; }
/*----------------------------------------------------------------------* rtp_wfile_gnext *----------------------------------------------------------------------*/ int rtp_wfile_gnext (void * dirobj) { return(rtp_file_gnext (dirobj)); }