source: branches/stable/mondo/src/common/libmondo-tools-EXT.h @ 1625

Last change on this file since 1625 was 1625, checked in by Bruno Cornec, 13 years ago

remove g_loglevel and replaced with mr_conf->log_level

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1/* $Id: libmondo-tools-EXT.h 1625 2007-09-08 23:00:49Z bruno $ */
2
3#ifndef LIBMONDO_TOOLS_EXT_H
4#define LIBMONDO_TOOLS_EXT_H
5
6extern void clean_up_KDE_desktop_if_necessary(void);
7extern long get_time(void);
8extern int read_cfg_var(char *config_file, char *label, char *value);
9extern int write_cfg_var(char *config_file, char *label, char *value);
10extern void reset_bkpinfo(struct s_bkpinfo *bkpinfo);
11#ifdef __FreeBSD__
12extern void initialize_raidrec(struct vinum_volume *vv);
13#else
14extern void initialize_raidrec(struct raid_device_record *raidrec);
15#endif
16extern int some_basic_system_sanity_checks(void);
17
18
19extern void insmod_crucial_modules(void);
20extern int find_and_store_mondoarchives_home(char *home_sz);
21
22extern void unmount_supermounts_if_necessary(void);
23extern void remount_supermounts_if_necessary(void);
24
25extern int post_param_configuration(struct s_bkpinfo *bkpinfo);
26
27
28extern int pre_param_configuration(struct s_bkpinfo *bkpinfo);
29
30
31extern void mount_boot_if_necessary(void);
32extern void unmount_boot_if_necessary(void);
33extern void restart_autofs_if_necessary(void);
34extern void malloc_libmondo_global_strings(void);
35extern void free_libmondo_global_strings(void);
36
37extern double get_kernel_version(void);
38extern char *get_architecture(void);
39
40extern bool does_nonMS_partition_exist(void);
41
42
43extern void stop_magicdev_if_necessary(void);
44extern void restart_magicdev_if_necessary(void);
45extern void stop_autofs_if_necessary(void);
46
47#endif /* LIBMONDO_TOOLS_EXT_H */
Note: See TracBrowser for help on using the repository browser.