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