[1] | 1 | /* libmondo-tools.h
|
---|
[128] | 2 | * $Id: libmondo-tools.h 1647 2007-09-24 01:24:45Z bruno $
|
---|
| 3 | */
|
---|
[1] | 4 |
|
---|
| 5 | void clean_up_KDE_desktop_if_necessary(void);
|
---|
| 6 |
|
---|
[128] | 7 | long get_time();
|
---|
[1] | 8 | extern void (*log_debug_msg) (int debug_level, const char *szFile,
|
---|
[128] | 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);
|
---|
[1647] | 16 | void reset_bkpinfo();
|
---|
[1] | 17 | #ifdef __FreeBSD__
|
---|
[128] | 18 | void initialize_raidrec(struct vinum_volume *vv);
|
---|
[1] | 19 | #else
|
---|
[128] | 20 | void initialize_raidrec(struct raid_device_record *raidrec);
|
---|
[1] | 21 | #endif
|
---|
[128] | 22 | void log_trace(char *o);
|
---|
| 23 | int some_basic_system_sanity_checks();
|
---|
[1] | 24 |
|
---|
| 25 |
|
---|
| 26 | void insmod_crucial_modules(void);
|
---|
| 27 | int find_and_store_mondoarchives_home(char *home_sz);
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | void unmount_supermounts_if_necessary(void);
|
---|
| 31 | void remount_supermounts_if_necessary(void);
|
---|
| 32 |
|
---|
[1647] | 33 | int post_param_configuration();
|
---|
[1] | 34 |
|
---|
| 35 |
|
---|
[1647] | 36 | int pre_param_configuration();
|
---|
[1] | 37 |
|
---|
[128] | 38 | long free_space_on_given_partition(char *partition);
|
---|
[1] | 39 |
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | void mount_boot_if_necessary(void);
|
---|
| 43 | void unmount_boot_if_necessary(void);
|
---|
| 44 |
|
---|
| 45 | void restart_autofs_if_necessary(void);
|
---|
| 46 | void malloc_libmondo_global_strings(void);
|
---|
| 47 | void free_libmondo_global_strings(void);
|
---|
| 48 |
|
---|
| 49 | double get_kernel_version();
|
---|
[128] | 50 | char *get_architecture();
|
---|
[1375] | 51 | char *get_uname_m();
|
---|
[128] | 52 | bool does_nonMS_partition_exist(void);
|
---|
[1] | 53 | void stop_magicdev_if_necessary(void);
|
---|
| 54 | void restart_magicdev_if_necessary(void);
|
---|
| 55 | void stop_autofs_if_necessary(void);
|
---|
| 56 | void restart_autofs_if_necessary(void);
|
---|