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