source: MondoRescue/trunk/mondo/mondo/common/libmondo-tools.h@ 1

Last change on this file since 1 was 1, checked in by bcornec, 19 years ago

Initial import from latest mondo-2.04_cvs_20050503/mindi-1.04_cvs_20050503 on http://www.mondorescue.org

File size: 1.6 KB
Line 
1 /* libmondo-tools.h
2 * $Id: libmondo-tools.h,v 1.2 2004/06/10 15:29:12 hugo Exp $
3 */
4
5void clean_up_KDE_desktop_if_necessary(void);
6
7long get_time ();
8extern void (*log_debug_msg) (int debug_level, const char *szFile,
9 const char *szFunction, int nLine, const char *fmt, ...);
10void standard_log_debug_msg (int debug_level, const char *szFile,
11 const char *szFunction, int nLine, const char *fmt, ...);
12int read_cfg_var (char *config_file, char *label, char *value);
13int write_cfg_var (char *config_file, char *label, char *value);
14void reset_bkpinfo (struct s_bkpinfo *bkpinfo);
15#ifdef __FreeBSD__
16void initialize_raidrec (struct vinum_volume *vv);
17#else
18void initialize_raidrec (struct raid_device_record *raidrec);
19#endif
20void log_trace (char *o);
21int some_basic_system_sanity_checks ();
22
23
24void insmod_crucial_modules(void);
25int find_and_store_mondoarchives_home(char *home_sz);
26
27
28void unmount_supermounts_if_necessary(void);
29void remount_supermounts_if_necessary(void);
30
31int post_param_configuration (struct s_bkpinfo *bkpinfo);
32
33
34int pre_param_configuration(struct s_bkpinfo *bkpinfo);
35
36long free_space_on_given_partition(char*partition);
37
38
39
40void mount_boot_if_necessary(void);
41void unmount_boot_if_necessary(void);
42
43void restart_autofs_if_necessary(void);
44void malloc_libmondo_global_strings(void);
45void free_libmondo_global_strings(void);
46
47double get_kernel_version();
48char * get_architecture();
49bool does_nonMS_partition_exist (void);
50void stop_magicdev_if_necessary(void);
51void restart_magicdev_if_necessary(void);
52void stop_autofs_if_necessary(void);
53void restart_autofs_if_necessary(void);
54
55
Note: See TracBrowser for help on using the repository browser.