source: branches/2.2.10/mondo/src/common/libmondo-tools.h @ 2325

Last change on this file since 2325 was 2325, checked in by Bruno Cornec, 11 years ago

r3336@localhost: bruno | 2009-08-11 16:32:36 +0200

  • bkpinfo->media_device, bkpinfo->nfs_remote_dir, and bkpinfo->nfs_mount are now dynamically allocated
  • new interfaces for find_cdrom_device(), find_tape_device_and_size(), find_dvd_device(), find_cdrw_device(), set_dev_to_this_if_rx_OK() and read_cfg_var() which allocate the string now returned
  • Better differentiation between ISO and NFS iso file names construction
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1    /* libmondo-tools.h
2     * $Id: libmondo-tools.h 2325 2009-08-18 13:19:15Z bruno $
3     */
4
5void clean_up_KDE_desktop_if_necessary(void);
6
7long get_time();
8char *mr_date(void);
9extern void (*log_debug_msg) (int debug_level, const char *szFile,
10                              const char *szFunction, int nLine,
11                              const char *fmt, ...);
12void standard_log_debug_msg(int debug_level, const char *szFile,
13                            const char *szFunction, int nLine,
14                            const char *fmt, ...);
15char *read_cfg_var(char *config_file, char *label);
16int write_cfg_var(char *config_file, char *label, char *value);
17void init_bkpinfo();
18#ifdef __FreeBSD__
19void initialize_raidrec(struct vinum_volume *vv);
20#else
21void initialize_raidrec(struct raid_device_record *raidrec);
22#endif
23void log_trace(char *o);
24int some_basic_system_sanity_checks();
25
26
27void insmod_crucial_modules(void);
28int find_and_store_mondoarchives_home(char *home_sz);
29
30
31void unmount_supermounts_if_necessary(void);
32void remount_supermounts_if_necessary(void);
33
34int post_param_configuration();
35
36
37int pre_param_configuration();
38
39long free_space_on_given_partition(char *partition);
40
41
42
43void mount_boot_if_necessary(void);
44void unmount_boot_if_necessary(void);
45
46void restart_autofs_if_necessary(void);
47void malloc_libmondo_global_strings(void);
48void free_libmondo_global_strings(void);
49
50double get_kernel_version();
51char *get_architecture();
52char *get_uname_m();
53bool does_nonMS_partition_exist(void);
54void stop_magicdev_if_necessary(void);
55void restart_magicdev_if_necessary(void);
56void stop_autofs_if_necessary(void);
57void restart_autofs_if_necessary(void);
Note: See TracBrowser for help on using the repository browser.