source: MondoRescue/trunk/mondo/mondo/common/libmondo-tools-EXT.h@ 483

Last change on this file since 483 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.5 KB
Line 
1/* libmondo-tools-EXT.h */
2
3extern void clean_up_KDE_desktop_if_necessary(void);
4extern long get_time();
5extern void (*log_debug_msg) (int debug_level, const char *szFile,
6 const char *szFunction, int nLine,
7 const char *fmt, ...);
8extern void standard_log_debug_msg(int debug_level, const char *szFile,
9 const char *szFunction, int nLine,
10 const char *fmt, ...);
11extern int read_cfg_var(char *config_file, char *label, char *value);
12extern int write_cfg_var(char *config_file, char *label, char *value);
13extern void reset_bkpinfo(struct s_bkpinfo *bkpinfo);
14#ifdef __FreeBSD__
15extern void initialize_raidrec(struct vinum_volume *vv);
16#else
17extern void initialize_raidrec(struct raid_device_record *raidrec);
18#endif
19extern int some_basic_system_sanity_checks();
20
21
22extern int g_loglevel;
23
24
25extern void insmod_crucial_modules(void);
26extern char *find_and_store_mondoarchives_home(void);
27
28extern void unmount_supermounts_if_necessary(void);
29extern void remount_supermounts_if_necessary(void);
30
31extern int post_param_configuration(struct s_bkpinfo *bkpinfo);
32
33
34extern int pre_param_configuration(struct s_bkpinfo *bkpinfo);
35
36
37extern void mount_boot_if_necessary(void);
38extern void unmount_boot_if_necessary(void);
39extern void malloc_libmondo_global_strings(void);
40extern void free_libmondo_global_strings(void);
41
42extern double get_kernel_version();
43extern char *get_architecture();
44
45extern bool does_nonMS_partition_exist(void);
46
47
48extern void stop_magicdev_if_necessary(void);
49extern void restart_magicdev_if_necessary(void);
Note: See TracBrowser for help on using the repository browser.