[1106] | 1 | /* $Id: libmondo-tools-EXT.h 1185 2007-02-19 00:51:26Z bruno $ */
|
---|
[1] | 2 |
|
---|
[1106] | 3 | #ifndef LIBMONDO_TOOLS_EXT_H
|
---|
| 4 | #define LIBMONDO_TOOLS_EXT_H
|
---|
| 5 |
|
---|
[1] | 6 | extern void clean_up_KDE_desktop_if_necessary(void);
|
---|
[1106] | 7 | extern long get_time(void);
|
---|
[59] | 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);
|
---|
[1] | 11 | #ifdef __FreeBSD__
|
---|
[59] | 12 | extern void initialize_raidrec(struct vinum_volume *vv);
|
---|
[1] | 13 | #else
|
---|
[59] | 14 | extern void initialize_raidrec(struct raid_device_record *raidrec);
|
---|
[1] | 15 | #endif
|
---|
[1106] | 16 | extern int some_basic_system_sanity_checks(void);
|
---|
[1] | 17 |
|
---|
| 18 |
|
---|
| 19 | extern int g_loglevel;
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | extern void insmod_crucial_modules(void);
|
---|
[94] | 23 | extern char *find_and_store_mondoarchives_home(void);
|
---|
[1] | 24 |
|
---|
| 25 | extern void unmount_supermounts_if_necessary(void);
|
---|
| 26 | extern void remount_supermounts_if_necessary(void);
|
---|
| 27 |
|
---|
[59] | 28 | extern int post_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
[1] | 29 |
|
---|
| 30 |
|
---|
| 31 | extern int pre_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
| 32 |
|
---|
| 33 |
|
---|
| 34 | extern void mount_boot_if_necessary(void);
|
---|
| 35 | extern void unmount_boot_if_necessary(void);
|
---|
| 36 | extern void malloc_libmondo_global_strings(void);
|
---|
| 37 | extern void free_libmondo_global_strings(void);
|
---|
| 38 |
|
---|
[1106] | 39 | extern double get_kernel_version(void);
|
---|
| 40 | extern char *get_architecture(void);
|
---|
[1] | 41 |
|
---|
[59] | 42 | extern bool does_nonMS_partition_exist(void);
|
---|
[1] | 43 |
|
---|
| 44 |
|
---|
| 45 | extern void stop_magicdev_if_necessary(void);
|
---|
| 46 | extern void restart_magicdev_if_necessary(void);
|
---|
[1106] | 47 |
|
---|
| 48 | #endif /* LIBMONDO_TOOLS_EXT_H */
|
---|