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

Last change on this file since 75 was 59, checked in by bcornec, 14 years ago

Trunk: indent on all source files

  • Property svn:keywords set to Id
File size: 1.5 KB
RevLine 
[1]1    /* libmondo-tools.h
[59]2     * $Id: libmondo-tools.h 59 2005-10-10 23:34:31Z bcornec $
3     */
[1]4
5void clean_up_KDE_desktop_if_necessary(void);
6
[59]7long get_time();
[1]8extern void (*log_debug_msg) (int debug_level, const char *szFile,
[59]9                              const char *szFunction, int nLine,
10                              const char *fmt, ...);
11void standard_log_debug_msg(int debug_level, const char *szFile,
12                            const char *szFunction, int nLine,
13                            const char *fmt, ...);
14int read_cfg_var(char *config_file, char *label, char *value);
15int write_cfg_var(char *config_file, char *label, char *value);
16void reset_bkpinfo(struct s_bkpinfo *bkpinfo);
[1]17#ifdef __FreeBSD__
[59]18void initialize_raidrec(struct vinum_volume *vv);
[1]19#else
[59]20void initialize_raidrec(struct raid_device_record *raidrec);
[1]21#endif
[59]22void log_trace(char *o);
23int some_basic_system_sanity_checks();
[1]24
25
26void insmod_crucial_modules(void);
27int find_and_store_mondoarchives_home(char *home_sz);
28
29
30void unmount_supermounts_if_necessary(void);
31void remount_supermounts_if_necessary(void);
32
[59]33int post_param_configuration(struct s_bkpinfo *bkpinfo);
[1]34
35
36int pre_param_configuration(struct s_bkpinfo *bkpinfo);
37
[59]38long free_space_on_given_partition(char *partition);
[1]39
40
41
42void mount_boot_if_necessary(void);
43void unmount_boot_if_necessary(void);
44
45void restart_autofs_if_necessary(void);
46void malloc_libmondo_global_strings(void);
47void free_libmondo_global_strings(void);
48
49double get_kernel_version();
[59]50char *get_architecture();
51bool does_nonMS_partition_exist(void);
[1]52void stop_magicdev_if_necessary(void);
53void restart_magicdev_if_necessary(void);
54void stop_autofs_if_necessary(void);
55void restart_autofs_if_necessary(void);
Note: See TracBrowser for help on using the repository browser.