source: MondoRescue/trunk/mondo/src/common/libmondo-tools.h@ 839

Last change on this file since 839 was 171, checked in by bcornec, 18 years ago

memory management continues:

  • mondoarchive handled completely
  • bkpinfo, begining of dyn. alloc.
  • lot of changes around memory everywhere

=> even if it compiles, i'm pretty sure it doesn't work yet (even not tried)

  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1 /* libmondo-tools.h
2 * $Id: libmondo-tools.h 171 2005-12-08 16:20:29Z bcornec $
3 */
4
5void clean_up_KDE_desktop_if_necessary(void);
6
7long get_time();
8extern void (*log_debug_msg) (int debug_level, const char *szFile,
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);
17#ifdef __FreeBSD__
18void initialize_raidrec(struct vinum_volume *vv);
19#else
20void initialize_raidrec(struct raid_device_record *raidrec);
21#endif
22int some_basic_system_sanity_checks();
23
24
25void insmod_crucial_modules(void);
26char *find_and_store_mondoarchives_home(void);
27
28
29void unmount_supermounts_if_necessary(void);
30void remount_supermounts_if_necessary(void);
31
32int post_param_configuration(struct s_bkpinfo *bkpinfo);
33
34
35int pre_param_configuration(struct s_bkpinfo *bkpinfo);
36
37long free_space_on_given_partition(char *partition);
38
39
40
41void mount_boot_if_necessary(void);
42void unmount_boot_if_necessary(void);
43
44void malloc_libmondo_global_strings(void);
45void free_libmondo_global_strings(void);
46
47double get_kernel_version();
48char *get_architecture();
49bool does_nonMS_partition_exist(void);
50void stop_magicdev_if_necessary(void);
51void restart_magicdev_if_necessary(void);
Note: See TracBrowser for help on using the repository browser.