[1] | 1 | /* libmondo-tools.h
|
---|
[59] | 2 | * $Id: libmondo-tools.h 171 2005-12-08 16:20:29Z bcornec $
|
---|
| 3 | */
|
---|
[1] | 4 |
|
---|
| 5 | void clean_up_KDE_desktop_if_necessary(void);
|
---|
| 6 |
|
---|
[59] | 7 | long get_time();
|
---|
[1] | 8 | extern void (*log_debug_msg) (int debug_level, const char *szFile,
|
---|
[59] | 9 | const char *szFunction, int nLine,
|
---|
| 10 | const char *fmt, ...);
|
---|
| 11 | void standard_log_debug_msg(int debug_level, const char *szFile,
|
---|
| 12 | const char *szFunction, int nLine,
|
---|
| 13 | const char *fmt, ...);
|
---|
| 14 | int read_cfg_var(char *config_file, char *label, char *value);
|
---|
| 15 | int write_cfg_var(char *config_file, char *label, char *value);
|
---|
| 16 | void reset_bkpinfo(struct s_bkpinfo *bkpinfo);
|
---|
[1] | 17 | #ifdef __FreeBSD__
|
---|
[59] | 18 | void initialize_raidrec(struct vinum_volume *vv);
|
---|
[1] | 19 | #else
|
---|
[59] | 20 | void initialize_raidrec(struct raid_device_record *raidrec);
|
---|
[1] | 21 | #endif
|
---|
[59] | 22 | int some_basic_system_sanity_checks();
|
---|
[1] | 23 |
|
---|
| 24 |
|
---|
| 25 | void insmod_crucial_modules(void);
|
---|
[94] | 26 | char *find_and_store_mondoarchives_home(void);
|
---|
[1] | 27 |
|
---|
| 28 |
|
---|
| 29 | void unmount_supermounts_if_necessary(void);
|
---|
| 30 | void remount_supermounts_if_necessary(void);
|
---|
| 31 |
|
---|
[59] | 32 | int post_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
[1] | 33 |
|
---|
| 34 |
|
---|
| 35 | int pre_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
| 36 |
|
---|
[59] | 37 | long free_space_on_given_partition(char *partition);
|
---|
[1] | 38 |
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | void mount_boot_if_necessary(void);
|
---|
| 42 | void unmount_boot_if_necessary(void);
|
---|
| 43 |
|
---|
| 44 | void malloc_libmondo_global_strings(void);
|
---|
| 45 | void free_libmondo_global_strings(void);
|
---|
| 46 |
|
---|
| 47 | double get_kernel_version();
|
---|
[59] | 48 | char *get_architecture();
|
---|
| 49 | bool does_nonMS_partition_exist(void);
|
---|
[1] | 50 | void stop_magicdev_if_necessary(void);
|
---|
| 51 | void restart_magicdev_if_necessary(void);
|
---|