1 | /* $Id: libmondo-tools-EXT.h 1625 2007-09-08 23:00:49Z bruno $ */ |
---|
2 | |
---|
3 | #ifndef LIBMONDO_TOOLS_EXT_H |
---|
4 | #define LIBMONDO_TOOLS_EXT_H |
---|
5 | |
---|
6 | extern void clean_up_KDE_desktop_if_necessary(void); |
---|
7 | extern long get_time(void); |
---|
8 | extern int read_cfg_var(char *config_file, char *label, char *value); |
---|
9 | extern int write_cfg_var(char *config_file, char *label, char *value); |
---|
10 | extern void reset_bkpinfo(struct s_bkpinfo *bkpinfo); |
---|
11 | #ifdef __FreeBSD__ |
---|
12 | extern void initialize_raidrec(struct vinum_volume *vv); |
---|
13 | #else |
---|
14 | extern void initialize_raidrec(struct raid_device_record *raidrec); |
---|
15 | #endif |
---|
16 | extern int some_basic_system_sanity_checks(void); |
---|
17 | |
---|
18 | |
---|
19 | extern void insmod_crucial_modules(void); |
---|
20 | extern int find_and_store_mondoarchives_home(char *home_sz); |
---|
21 | |
---|
22 | extern void unmount_supermounts_if_necessary(void); |
---|
23 | extern void remount_supermounts_if_necessary(void); |
---|
24 | |
---|
25 | extern int post_param_configuration(struct s_bkpinfo *bkpinfo); |
---|
26 | |
---|
27 | |
---|
28 | extern int pre_param_configuration(struct s_bkpinfo *bkpinfo); |
---|
29 | |
---|
30 | |
---|
31 | extern void mount_boot_if_necessary(void); |
---|
32 | extern void unmount_boot_if_necessary(void); |
---|
33 | extern void restart_autofs_if_necessary(void); |
---|
34 | extern void malloc_libmondo_global_strings(void); |
---|
35 | extern void free_libmondo_global_strings(void); |
---|
36 | |
---|
37 | extern double get_kernel_version(void); |
---|
38 | extern char *get_architecture(void); |
---|
39 | |
---|
40 | extern bool does_nonMS_partition_exist(void); |
---|
41 | |
---|
42 | |
---|
43 | extern void stop_magicdev_if_necessary(void); |
---|
44 | extern void restart_magicdev_if_necessary(void); |
---|
45 | extern void stop_autofs_if_necessary(void); |
---|
46 | |
---|
47 | #endif /* LIBMONDO_TOOLS_EXT_H */ |
---|