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

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

Fix again another set of compiler warnings (Michel Loiseleur <mloiseleur_at_linagora.com>)

  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1    /* libmondo-tools.h
2     * $Id: libmondo-tools.h 1103 2007-02-06 10:10:01Z 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
25void log_trace(char *o);
26int some_basic_system_sanity_checks(void);
27
28
29void insmod_crucial_modules(void);
30int find_and_store_mondoarchives_home(char *home_sz);
31
32
33void unmount_supermounts_if_necessary(void);
34void remount_supermounts_if_necessary(void);
35
36int post_param_configuration(struct s_bkpinfo *bkpinfo);
37
38
39int pre_param_configuration(struct s_bkpinfo *bkpinfo);
40
41long free_space_on_given_partition(char *partition);
42
43
44
45void mount_boot_if_necessary(void);
46void unmount_boot_if_necessary(void);
47
48void restart_autofs_if_necessary(void);
49void malloc_libmondo_global_strings(void);
50void free_libmondo_global_strings(void);
51
52double get_kernel_version(void);
53char *get_architecture(void);
54bool does_nonMS_partition_exist(void);
55void stop_magicdev_if_necessary(void);
56void restart_magicdev_if_necessary(void);
57void stop_autofs_if_necessary(void);
58void restart_autofs_if_necessary(void);
59
60#endif /* LIBMONDO_TOOLS_H */
61
Note: See TracBrowser for help on using the repository browser.