source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-string.h @ 2352

Last change on this file since 2352 was 2352, checked in by Bruno Cornec, 11 years ago

Change inerface of evaluate_mountlist and spread_flaws_across_three_lines in order to solve bugs linked to strings management in these functions. May fix a restoration crash seen by some customers (backport from 2.2.9)

  • Property svn:keywords set to Id
File size: 1.4 KB
2 * $Id: libmondo-string.h 2352 2009-08-28 00:46:29Z bruno $
3 */
5char *build_partition_name(const char *drive, int partno);
6void center_string(char *in_out, int width);
7char *commarize(char *);
8char *disklist_entry_to_string(struct list_of_disks *disklist, int lino);
9long friendly_sizestr_to_sizelong(char *incoming);
10char *leftpad_string(char *incoming, int width);
11char *marker_to_string(int marker);
12char *mountlist_entry_to_string(struct mountlist_itself *mountlist,
13                                int lino);
14char *number_of_disks_as_string(int noof_disks, char *label);
15char *number_to_text(int i);
16char *resolve_naff_tokens(char *ip, char *value, char *token);
17char *slice_fname(long bigfileno, long sliceno, char *path, char *s);
18int special_dot_char(int i);
19void spread_flaws_across_three_lines(char *flaws_str, char *flaws_str_A,
20                                     char *flaws_str_B, char *flaws_str_C);
21int strcmp_inc_numbers(char *stringA, char *stringB);
22char *strip_afio_output_line(char *input);
23void strip_spaces(char *in_out);
24char *trim_empty_quotes(char *incoming);
25char *truncate_to_drive_name(char *partition);
26char *turn_raid_level_number_to_string(int raid_level);
27void printf_silly_message(void);
29int compare_two_filelist_entries(void *va, void *vb);
30int severity_of_difference(char *filename, char *out_reason);
32char *percent_media_full_comment();
33char *media_descriptor_string(t_bkptype);
34inline void turn_wildcard_chars_into_literal_chars(char *out, char *in);
Note: See TracBrowser for help on using the repository browser.