"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/check.h" between
dosfstools-4.1.tar.gz and dosfstools-4.2.tar.gz

About: dosfstools are utilities to create, check and label (MS-DOS) FAT filesystems.

check.h  (dosfstools-4.1):check.h  (dosfstools-4.2)
skipping to change at line 26 skipping to change at line 26
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
The complete text of the GNU General Public License The complete text of the GNU General Public License
can be found in /usr/share/common-licenses/GPL-3 file. can be found in /usr/share/common-licenses/GPL-3 file.
*/ */
#ifndef _CHECK_H #ifndef _CHECK_H
#define _CHECK_H #define _CHECK_H
off_t alloc_rootdir_entry(DOS_FS * fs, DIR_ENT * de, const char *pattern, int ge void check_dirty_bits(DOS_FS * fs);
n_name);
/* Allocate a free slot in the root directory for a new file. If gen_name is
true, the file name is constructed after 'pattern', which must include a %d
type format for printf and expand to exactly 11 characters. The name
actually used is written into the 'de' structure, the rest of *de is cleared.
The offset returned is to where in the filesystem the entry belongs. */
int scan_root(DOS_FS * fs); int scan_root(DOS_FS * fs);
/* Scans the root directory and recurses into all subdirectories. See check.c /* Scans the root directory and recurses into all subdirectories. See check.c
for all the details. Returns a non-zero integer if the filesystem has to for all the details. Returns a non-zero integer if the filesystem has to
be checked again. */ be checked again. */
void check_label(DOS_FS * fs);
/* Checks the volume label from the root directory entry that is valid and
* matches the label stored in boot sector. */
#endif #endif
 End of changes. 2 change blocks. 
8 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)