source: MondoRescue/branches/2.2.9/mondo/src/common/libmondo-tools.h@ 2507

Last change on this file since 2507 was 2470, checked in by Bruno Cornec, 14 years ago

Remove useless pb_log and MONDO_TRACEFILE

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