source: MondoRescue/branches/stable/mondo/src/common/libmondo-tools.h @ 1384

Last change on this file since 1384 was 1384, checked in by Bruno Cornec, 14 years ago

Typos again

  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1    /* libmondo-tools.h
2     * $Id: libmondo-tools.h 1384 2007-04-30 17:19:08Z 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);
23int find_and_store_mondoarchives_home(char *home_sz);
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 restart_autofs_if_necessary(void);
42void malloc_libmondo_global_strings(void);
43void free_libmondo_global_strings(void);
44
45double get_kernel_version(void);
46char *get_architecture(void);
47bool does_nonMS_partition_exist(void);
48void stop_magicdev_if_necessary(void);
49void restart_magicdev_if_necessary(void);
50void stop_autofs_if_necessary(void);
51
52#endif /* LIBMONDO_TOOLS_H */
53
Note: See TracBrowser for help on using the repository browser.