source: MondoRescue/branches/3.3/mondo/src/common/libmondo-files.h@ 3864

Last change on this file since 3864 was 3861, checked in by Bruno Cornec, 4 months ago

Fix proto for mvaddstr_and_log_it and does_file_exist

  • Property svn:keywords set to Id
File size: 1.4 KB
RevLine 
[1]1/* libmondo-files.h
[128]2 * $Id: libmondo-files.h 3861 2024-03-07 10:01:16Z bruno $
[1]3 */
4
5#include "crcttt.h"
6
7
[128]8unsigned int updcrc(unsigned int crc, unsigned int c);
9unsigned int updcrcr(unsigned int crc, unsigned int c);
10char *calc_checksum_of_file(char *filename);
11long count_lines_in_file(char *filename);
12void exclude_nonexistent_files(char *inout);
13int figure_out_kernel_path_interactively_if_necessary(char *kernel);
14char *find_home_of_exe(char *fname);
15int get_trackno_from_logfile(char *logfile);
16int grab_percentage_from_last_line_of_file(char *filename);
17char *last_line_of_file(char *filename);
[684]18off_t length_of_file(char *filename);
[128]19int make_checksum_list_file(char *filelist, char *cksumlist,
20 char *comppath);
21int make_hole_for_file(char *outfile_fname);
22void make_list_of_files_to_ignore(char *ignorefiles_fname,
23 char *filelist_fname,
24 char *cklist_fname);
25long noof_lines_that_match_wildcard(char *filelist_fname, char *wildcard);
[1647]26long size_of_all_biggiefiles_K();
[128]27long long space_occupied_by_cd(char *mountpt);
28int whine_if_not_found(char *fname);
29int write_one_liner_data_file(char *fname, char *contents);
[1]30
[1647]31void copy_mondo_and_mindi_stuff_to_scratchdir();
32void estimate_noof_media_required(long);
[128]33bool is_this_file_compressed(char *);
[1]34
35
36
37
38
39
40
41
[3191]42int make_hole_for_dir(const char *outdir_fname);
[128]43long size_of_partition_in_mountlist_K(char *tmpdir, char *dev);
44int read_one_liner_data_file(char *fname, char *contents);
Note: See TracBrowser for help on using the repository browser.