- Timestamp:
- Mar 7, 2024, 11:01:16 AM (4 months ago)
- Location:
- branches/3.3/mondo/src
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3/mondo/src/common/libmondo-files-EXT.h
r3610 r3861 8 8 extern char *calc_checksum_of_file(char *filename); 9 9 extern long count_lines_in_file(char *filename); 10 extern bool does_file_exist(c har *filename);10 extern bool does_file_exist(const char *filename); 11 11 extern void exclude_nonexistent_files(char *inout); 12 12 extern int figure_out_kernel_path_interactively_if_necessary(char *kernel); -
branches/3.3/mondo/src/common/libmondo-files.c
r3854 r3861 177 177 * @return TRUE if it exists, FALSE otherwise. 178 178 */ 179 bool does_file_exist(c har *filename)179 bool does_file_exist(const char *filename) 180 180 { 181 181 -
branches/3.3/mondo/src/common/libmondo-files.h
r3610 r3861 10 10 char *calc_checksum_of_file(char *filename); 11 11 long count_lines_in_file(char *filename); 12 bool does_file_exist(char *filename);13 12 void exclude_nonexistent_files(char *inout); 14 13 int figure_out_kernel_path_interactively_if_necessary(char *kernel); -
branches/3.3/mondo/src/common/libmondo-verify.h
r3858 r3861 24 24 extern void close_progress_form(void); 25 25 extern long count_lines_in_file(char *); 26 extern bool does_file_exist(c har *);26 extern bool does_file_exist(const char *); 27 27 extern void exclude_nonexistent_files(char *); 28 extern void fatal_error(c har *);28 extern void fatal_error(const char *); 29 29 extern int find_and_mount_actual_cd(char *); 30 30 extern int find_cdrom_device(char *, bool); … … 87 87 extern int g_current_media_number; 88 88 89 extern void mvaddstr_and_log_it(int, int, c har *);89 extern void mvaddstr_and_log_it(int, int, const char *); 90 90 91 91 extern bool ask_me_yes_or_no(char *); -
branches/3.3/mondo/src/common/newt-specific-EXT.h
r3858 r3861 8 8 extern void fatal_error(const char *error_string); 9 9 extern void finish(int signal); 10 extern void mvaddstr_and_log_it(int y, int x, c har *output);10 extern void mvaddstr_and_log_it(int y, int x, const char *output); 11 11 extern void open_evalcall_form(char *title); 12 12 extern void open_progress_form(char *title, char *b1, char *b2, char *b3, -
branches/3.3/mondo/src/common/newt-specific.c
r3858 r3861 578 578 * @param output The string to write. 579 579 */ 580 void mvaddstr_and_log_it(int y, int x, c har *output) {580 void mvaddstr_and_log_it(int y, int x, const char *output) { 581 581 582 582 assert_string_is_neither_NULL_nor_zerolength(output); -
branches/3.3/mondo/src/mondorestore/mondo-rstr-newt.h
r3858 r3861 39 39 extern long get_time(void); 40 40 extern char *last_line_of_file(char *); 41 extern bool does_file_exist(c har *);41 extern bool does_file_exist(const char *); 42 42 extern void finish(int); 43 43 extern long get_phys_size_of_drive(char *); … … 56 56 char *filename); 57 57 extern int what_number_cd_is_this(); 58 //extern void fatal_error (char *);59 58 extern void sort_mountlist_by_device(struct mountlist_itself *); 60 59 extern int load_mountlist(struct mountlist_itself *a, char *b); … … 150 149 struct raidlist_itself *); 151 150 char *mountlist_entry_to_string(struct mountlist_itself *, int); 152 void mvaddstr_and_log_it(int, int, char *);153 151 void nuke_mode_dummy(); 154 152 char *number_of_disks_as_string(int, char *); -
branches/3.3/mondo/src/mondorestore/mondoprep.h
r3300 r3861 45 45 extern void log_file_end_to_screen(char *, char *); 46 46 extern int zero_out_a_device(char *); 47 extern void mvaddstr_and_log_it(int, int, c har *);48 extern bool does_file_exist(c har *);47 extern void mvaddstr_and_log_it(int, int, const char *); 48 extern bool does_file_exist(const char *); 49 49 50 50 -
branches/3.3/mondo/src/mondorestore/mr-externs.h
r3854 r3861 24 24 extern void close_progress_form(void); 25 25 extern long count_lines_in_file(char *); 26 extern bool does_file_exist(c har *);26 extern bool does_file_exist(const char *); 27 27 extern int does_partition_exist(const char *device, int partno); 28 28 extern int do_my_funky_lvm_stuff(bool, bool); … … 45 45 extern void log_file_end_to_screen(char *, char *); 46 46 extern void log_to_screen(const char *fmt, ...); 47 extern void mvaddstr_and_log_it(int, int, c har *);47 extern void mvaddstr_and_log_it(int, int, const char *); 48 48 extern int make_dummy_partitions(char *, int); 49 49 extern int make_hole_for_file(char *);
Note:
See TracChangeset
for help on using the changeset viewer.