1 | /* $Id: libmondo-tools-EXT.h 1106 2007-02-07 22:55:11Z bruno $ */
|
---|
2 |
|
---|
3 | #ifndef LIBMONDO_TOOLS_EXT_H
|
---|
4 | #define LIBMONDO_TOOLS_EXT_H
|
---|
5 |
|
---|
6 | extern void clean_up_KDE_desktop_if_necessary(void);
|
---|
7 | extern long get_time(void);
|
---|
8 | extern void (*log_debug_msg) (int debug_level, const char *szFile,
|
---|
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);
|
---|
17 | #ifdef __FreeBSD__
|
---|
18 | extern void initialize_raidrec(struct vinum_volume *vv);
|
---|
19 | #else
|
---|
20 | extern void initialize_raidrec(struct raid_device_record *raidrec);
|
---|
21 | #endif
|
---|
22 | extern int some_basic_system_sanity_checks(void);
|
---|
23 |
|
---|
24 |
|
---|
25 | extern int g_loglevel;
|
---|
26 |
|
---|
27 |
|
---|
28 | extern void insmod_crucial_modules(void);
|
---|
29 | extern char *find_and_store_mondoarchives_home(void);
|
---|
30 |
|
---|
31 | extern void unmount_supermounts_if_necessary(void);
|
---|
32 | extern void remount_supermounts_if_necessary(void);
|
---|
33 |
|
---|
34 | extern int post_param_configuration(struct s_bkpinfo *bkpinfo);
|
---|
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 |
|
---|
45 | extern double get_kernel_version(void);
|
---|
46 | extern char *get_architecture(void);
|
---|
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 |
|
---|
54 | #endif /* LIBMONDO_TOOLS_EXT_H */
|
---|