Changeset 128 in MondoRescue for branches/2.05/mondo/mondo/common/libmondo-files.h
- Timestamp:
- Nov 19, 2005, 2:27:41 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.05/mondo/mondo/common/libmondo-files.h
r30 r128 1 1 /* libmondo-files.h 2 * $Id : libmondo-files.h,v 1.3 2004/06/10 15:29:12 hugo Exp$2 * $Id$ 3 3 */ 4 4 … … 6 6 7 7 8 unsigned int updcrc (unsigned int crc, unsigned int c); 9 unsigned int updcrcr (unsigned int crc, unsigned int c); 10 char *calc_checksum_of_file (char *filename); 11 char *calc_file_ugly_minichecksum (char *curr_fname); 12 char *calc_file_ugly_minichecksum (char *curr_fname); 13 long count_lines_in_file (char *filename); 14 bool does_file_exist (char *filename); 15 void exclude_nonexistent_files (char *inout); 16 int figure_out_kernel_path_interactively_if_necessary(char*kernel); 17 char *find_home_of_exe (char *fname); 18 int get_trackno_from_logfile (char *logfile); 19 int grab_percentage_from_last_line_of_file (char *filename); 20 char *last_line_of_file (char *filename); 21 long long length_of_file (char *filename); 22 int make_checksum_list_file (char *filelist, char *cksumlist, char *comppath); 23 int make_hole_for_file (char *outfile_fname); 24 void make_list_of_files_to_ignore (char *ignorefiles_fname, char *filelist_fname, 25 char *cklist_fname); 26 long noof_lines_that_match_wildcard (char *filelist_fname, char *wildcard); 27 void register_pid(pid_t pid, char*name_str); 28 long size_of_all_biggiefiles_K (struct s_bkpinfo *bkpinfo); 29 long long space_occupied_by_cd (char *mountpt); 30 int whine_if_not_found (char *fname); 31 int write_one_liner_data_file (char *fname, char *contents); 8 unsigned int updcrc(unsigned int crc, unsigned int c); 9 unsigned int updcrcr(unsigned int crc, unsigned int c); 10 char *calc_checksum_of_file(char *filename); 11 char *calc_file_ugly_minichecksum(char *curr_fname); 12 char *calc_file_ugly_minichecksum(char *curr_fname); 13 long count_lines_in_file(char *filename); 14 bool does_file_exist(char *filename); 15 void exclude_nonexistent_files(char *inout); 16 int figure_out_kernel_path_interactively_if_necessary(char *kernel); 17 char *find_home_of_exe(char *fname); 18 int get_trackno_from_logfile(char *logfile); 19 int grab_percentage_from_last_line_of_file(char *filename); 20 char *last_line_of_file(char *filename); 21 long long length_of_file(char *filename); 22 int make_checksum_list_file(char *filelist, char *cksumlist, 23 char *comppath); 24 int make_hole_for_file(char *outfile_fname); 25 void make_list_of_files_to_ignore(char *ignorefiles_fname, 26 char *filelist_fname, 27 char *cklist_fname); 28 long noof_lines_that_match_wildcard(char *filelist_fname, char *wildcard); 29 void register_pid(pid_t pid, char *name_str); 30 long size_of_all_biggiefiles_K(struct s_bkpinfo *bkpinfo); 31 long long space_occupied_by_cd(char *mountpt); 32 int whine_if_not_found(char *fname); 33 int write_one_liner_data_file(char *fname, char *contents); 32 34 33 void copy_mondo_and_mindi_stuff_to_scratchdir 34 void store_nfs_config 35 void estimate_noof_media_required 36 bool is_this_file_compressed (char*);35 void copy_mondo_and_mindi_stuff_to_scratchdir(struct s_bkpinfo *bkpinfo); 36 void store_nfs_config(struct s_bkpinfo *bkpinfo); 37 void estimate_noof_media_required(struct s_bkpinfo *bkpinfo, long); 38 bool is_this_file_compressed(char *); 37 39 38 40 … … 43 45 44 46 45 int make_hole_for_dir (char*outdir_fname);46 long size_of_partition_in_mountlist_K(char *tmpdir, char*dev);47 int make_grub_install_scriptlet(char *outfile);47 int make_hole_for_dir(char *outdir_fname); 48 long size_of_partition_in_mountlist_K(char *tmpdir, char *dev); 49 int make_grub_install_scriptlet(char *outfile); 48 50 49 int read_one_liner_data_file 50 int mode_of_file(char *fname);51 int read_one_liner_data_file(char *fname, char *contents); 52 int mode_of_file(char *fname);
Note:
See TracChangeset
for help on using the changeset viewer.