source: MondoRescue/branches/stable/mondo/src/common/libmondo-string-EXT.h @ 1663

Last change on this file since 1663 was 1663, checked in by Bruno Cornec, 12 years ago
  • Fix bug #197 (based on an initial patch of Scott Cummings)
  • Fix a bug where df was using locale to print messages and wasn't filtered correctly
  • mkdtemp checked in configure
  • reset_bkpinfo called as early as possible by both main program.
  • It creates a tmpdir cleanly with mkdtemp in setup_tmpdir subfunction, which takes in account TMPIR and TMP env var. Remains to see what tmpfs does and tests
  • should also be filtered.
  • Remove g_bkpinfo_DONTUSETHIS
  • remove bkpinfo also from header files
  • Render bkpinfo global (potential issue on thread, but should not be a problem as that structure is indeed static during archive)
  • Apply patch from Andree Leidenfrost, modified a bit to use bkpinfo->tmpdir instead of /tmp or MINDI_CACHE when appropriate. Fix security issues in mondo. Thanks al ot Andree for catching all those issues.
  • /tmp => /var/log for mondorestore.log in mindi
  • Update linux terminfo to fix a color issue (Andree Leidenfrost)
  • Removes useless log file (Andree Leidenfrost)
  • replace vi with find_my_editor during restore (Andree Leidenfrost)
  • sync in bg in mindi (VMWare issue to look at)
  • mindi/mindi-busybox have a different version than mondo for pb
  • PB-SUF also added to spec file
  • Fix a bug for pb build (omission of PB-SUF declaration)

(merge -r1631:1662 $SVN_M/branches/2.2.5)

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