[1106] | 1 | /* $Id: libmondo-tools-EXT.h 1106 2007-02-07 22:55:11Z 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);
|
---|
[1] | 8 | extern void (*log_debug_msg) (int debug_level, const char *szFile,
|
---|
[59] | 9 | const char *szFunction, int nLine,
|
---|
| 10 | const char *fmt, ...);
|
---|
| 11 | extern void standard_log_debug_msg(int debug_level, const char *szFile,
|
---|
| 12 | const char *szFunction, int nLine,
|
---|
| 13 | const char *fmt, ...);
|
---|
| 14 | extern int read_cfg_var(char *config_file, char *label, char *value);
|
---|
| 15 | extern int write_cfg_var(char *config_file, char *label, char *value);
|
---|
| 16 | extern void reset_bkpinfo(struct s_bkpinfo *bkpinfo);
|
---|
[1] | 17 | #ifdef __FreeBSD__
|
---|
[59] | 18 | extern void initialize_raidrec(struct vinum_volume *vv);
|
---|
[1] | 19 | #else
|
---|
[59] | 20 | extern void initialize_raidrec(struct raid_device_record *raidrec);
|
---|
[1] | 21 | #endif
|
---|
[1106] | 22 | extern int some_basic_system_sanity_checks(void);
|
---|
[1] | 23 |
|
---|
| 24 |
|
---|
| 25 | extern int g_loglevel;
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 | extern void insmod_crucial_modules(void);
|
---|
[94] | 29 | extern char *find_and_store_mondoarchives_home(void);
|
---|
[1] | 30 |
|
---|
| 31 | extern void unmount_supermounts_if_necessary(void);
|
---|
| 32 | extern void remount_supermounts_if_necessary(void);
|
---|
| 33 |
|
---|
[59] | 34 | extern int post_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
[1] | 35 |
|
---|
| 36 |
|
---|
| 37 | extern int pre_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
| 38 |
|
---|
| 39 |
|
---|
| 40 | extern void mount_boot_if_necessary(void);
|
---|
| 41 | extern void unmount_boot_if_necessary(void);
|
---|
| 42 | extern void malloc_libmondo_global_strings(void);
|
---|
| 43 | extern void free_libmondo_global_strings(void);
|
---|
| 44 |
|
---|
[1106] | 45 | extern double get_kernel_version(void);
|
---|
| 46 | extern char *get_architecture(void);
|
---|
[1] | 47 |
|
---|
[59] | 48 | extern bool does_nonMS_partition_exist(void);
|
---|
[1] | 49 |
|
---|
| 50 |
|
---|
| 51 | extern void stop_magicdev_if_necessary(void);
|
---|
| 52 | extern void restart_magicdev_if_necessary(void);
|
---|
[1106] | 53 |
|
---|
| 54 | #endif /* LIBMONDO_TOOLS_EXT_H */
|
---|