source: trunk/mondo/src/common/libmondo-tools.h @ 1106

Last change on this file since 1106 was 1106, checked in by bruno, 13 years ago

merge -r1082:1105 $SVN_M/branches/stable

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