source: MondoRescue/branches/2.2.10/mondo/src/common/libmondo-tools-EXT.h@ 2475

Last change on this file since 2475 was 2475, checked in by Bruno Cornec, 14 years ago
  • Update deplist for Debian support
  • Fix #363 where exclude_paths was extended up to memory limit dumping core
  • Default to DVD size when in iso or netfs mode
  • Improve analysis of kernel modules by printing whether it's a live or extra module which has not been found (Matthew Cline) as reported in #362
  • Remove useless pb_log and MONDO_TRACEFILE
  • /dev/shm is now part of the default exclude list
  • some distro hold lvm commands under /usr/sbin
  • bzip2 is under /bin on Debian

(merge from 2.2.9 branch)

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1/* libmondo-tools-EXT.h */
2
3extern void clean_up_KDE_desktop_if_necessary(void);
4extern long get_time();
5extern void (*log_debug_msg) (int debug_level, const char *szFile,
6 const char *szFunction, int nLine,
7 const char *fmt, ...);
8extern void standard_log_debug_msg(int debug_level, const char *szFile,
9 const char *szFunction, int nLine,
10 const char *fmt, ...);
11extern char *read_cfg_var(char *config_file, char *label);
12extern int write_cfg_var(char *config_file, char *label, char *value);
13extern void init_bkpinfo();
14#ifdef __FreeBSD__
15extern void initialize_raidrec(struct vinum_volume *vv);
16#else
17extern void initialize_raidrec(struct raid_device_record *raidrec);
18#endif
19extern int some_basic_system_sanity_checks();
20
21
22extern int g_loglevel;
23
24extern void insmod_crucial_modules(void);
25extern int find_and_store_mondoarchives_home(char *home_sz);
26
27extern void unmount_supermounts_if_necessary(void);
28extern void remount_supermounts_if_necessary(void);
29
30extern int post_param_configuration();
31
32
33extern int pre_param_configuration();
34
35
36extern void mount_boot_if_necessary(void);
37extern void unmount_boot_if_necessary(void);
38extern void restart_autofs_if_necessary(void);
39extern void malloc_libmondo_global_strings(void);
40extern void free_libmondo_global_strings(void);
41
42extern double get_kernel_version();
43extern char *get_architecture();
44extern char *get_uname_m();
45
46extern bool does_nonMS_partition_exist(void);
47
48
49extern void stop_magicdev_if_necessary(void);
50extern void restart_magicdev_if_necessary(void);
51extern void stop_autofs_if_necessary(void);
52extern void restart_autofs_if_necessary(void);
Note: See TracBrowser for help on using the repository browser.