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, 17 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
RevLine 
[1]1 /* libmondo-tools.h
[128]2 * $Id: libmondo-tools.h 1103 2007-02-06 10:10:01Z bruno $
3 */
[1]4
[1103]5#ifndef LIBMONDO_TOOLS_H
6# define LIBMONDO_TOOLS_H
7
[1]8void clean_up_KDE_desktop_if_necessary(void);
9
[1103]10long get_time(void);
[1]11extern void (*log_debug_msg) (int debug_level, const char *szFile,
[128]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);
[1]20#ifdef __FreeBSD__
[128]21void initialize_raidrec(struct vinum_volume *vv);
[1]22#else
[128]23void initialize_raidrec(struct raid_device_record *raidrec);
[1]24#endif
[128]25void log_trace(char *o);
[1103]26int some_basic_system_sanity_checks(void);
[1]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
[128]36int post_param_configuration(struct s_bkpinfo *bkpinfo);
[1]37
38
39int pre_param_configuration(struct s_bkpinfo *bkpinfo);
40
[128]41long free_space_on_given_partition(char *partition);
[1]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
[1103]52double get_kernel_version(void);
53char *get_architecture(void);
[128]54bool does_nonMS_partition_exist(void);
[1]55void stop_magicdev_if_necessary(void);
56void restart_magicdev_if_necessary(void);
57void stop_autofs_if_necessary(void);
58void restart_autofs_if_necessary(void);
[1103]59
60#endif /* LIBMONDO_TOOLS_H */
61
Note: See TracBrowser for help on using the repository browser.