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

Last change on this file since 1185 was 1185, checked in by bruno, 12 years ago

Merges in trunk modifications coming from stable (common)

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1    /* libmondo-tools.h
2     * $Id: libmondo-tools.h 1185 2007-02-19 00:51:26Z 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);
11int read_cfg_var(char *config_file, char *label, char *value);
12int write_cfg_var(char *config_file, char *label, char *value);
13void reset_bkpinfo(struct s_bkpinfo *bkpinfo);
14#ifdef __FreeBSD__
15void initialize_raidrec(struct vinum_volume *vv);
16#else
17void initialize_raidrec(struct raid_device_record *raidrec);
18#endif
19int some_basic_system_sanity_checks(void);
20
21
22void insmod_crucial_modules(void);
23char *find_and_store_mondoarchives_home(void);
24
25
26void unmount_supermounts_if_necessary(void);
27void remount_supermounts_if_necessary(void);
28
29int post_param_configuration(struct s_bkpinfo *bkpinfo);
30
31
32int pre_param_configuration(struct s_bkpinfo *bkpinfo);
33
34long free_space_on_given_partition(char *partition);
35
36
37
38void mount_boot_if_necessary(void);
39void unmount_boot_if_necessary(void);
40
41void malloc_libmondo_global_strings(void);
42void free_libmondo_global_strings(void);
43
44double get_kernel_version(void);
45char *get_architecture(void);
46bool does_nonMS_partition_exist(void);
47void stop_magicdev_if_necessary(void);
48void restart_magicdev_if_necessary(void);
49
50#endif /* LIBMONDO_TOOLS_H */
Note: See TracBrowser for help on using the repository browser.