source: branches/2.04_berlios/mondo/mondo/common/libmondo-tools.h @ 2708

Last change on this file since 2708 was 2708, checked in by bruno, 9 years ago

r4184@localhost: bruno | 2011-01-27 15:52:51 +0100

  • Adds support for hpsa driver (new HP Smart Array driver)
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1    /* libmondo-tools.h
2 * $Id: libmondo-tools.h 2708 2011-01-27 18:31:44Z bruno $
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.