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