Changeset 1594 in MondoRescue for branches/stable/mondo/src/include
- Timestamp:
- Aug 26, 2007, 12:26:06 PM (17 years ago)
- Location:
- branches/stable/mondo/src/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/include/mr_conf.h
r1592 r1594 27 27 /* ISO Burning CLI command to use */ 28 28 char *iso_burning_cmd; 29 /* ISO Burning device to use (optional) */ 30 char *iso_burning_dev; 29 31 /* ISO Burning CLI command options */ 30 32 char *iso_burning_opt; … … 121 123 extern void mr_conf_close(void); 122 124 123 /*read integer number after string str in the current file*/ 124 extern int mr_conf_iread(const char *field_name); 125 /*read integer number (under a string format to be freed later on) after string str in the current file*/ 126 /* use atoi after */ 127 extern char *mr_conf_iread(const char *field_name); 125 128 126 /*read double/float number after string str in the current file*/ 127 extern double mr_conf_fread(const char *field_name); 129 /*read double/float number (under a string format to be freed later on) after string str in the current file*/ 130 /* use atof after */ 131 extern char *mr_conf_fread(const char *field_name); 128 132 129 /*read boolean after string str in the current file*/ 130 extern bool mr_conf_bread(const char *field_name); 133 /*read boolean (under a string format to be freed later on) after string str in the current file*/ 134 /* use mr_atob after */ 135 extern char *mr_conf_bread(const char *field_name); 131 136 132 137 /* -
branches/stable/mondo/src/include/mr_types.h
r1264 r1594 19 19 #endif 20 20 21 extern bool mr_atob(const char *str); 22 21 23 #endif /* MR_TYPES_H */ -
branches/stable/mondo/src/include/my-stuff.h
r1592 r1594 238 238 #define MNT_RESTORING "/mnt/RESTORING" 239 239 240 /** @def VANILLA_SCSI_CDROM The first SCSI CD-ROM in the system (most likely to be the one to write to). */241 240 /** @def VANILLA_SCSI_TAPE The SCSI tape radical on the system (most likely to be the one towrite to. */ 242 241 /** @def DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE A string whose presence in a device name indicates the … … 248 247 /** @def CP_BIN The GNU @c cp binary to use. */ 249 248 #ifdef __FreeBSD__ 250 #define VANILLA_SCSI_CDROM "/dev/cd0"251 249 #define VANILLA_SCSI_TAPE "/dev/sa" 252 #define VANILLA_USB_DEVICE "/dev/tobegivenbyfreebsdguru"253 250 #define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE "/dev/vinum/" 254 251 #define RAID_DEVICE_STUB DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE … … 258 255 #define CP_BIN "gcp" 259 256 #else 260 #define VANILLA_SCSI_CDROM "/dev/scd0"261 257 #define VANILLA_SCSI_TAPE "/dev/st0" 262 #define VANILLA_USB_DEVICE "/dev/sda"263 258 #define DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE "/dev/md" 264 259 #define RAID_DEVICE_STUB DONT_KNOW_HOW_TO_EVALUATE_THIS_DEVICE_TYPE … … 299 294 #define log_it(format, args...) mr_msg(2, format, ## args) 300 295 301 #define DEFAULT_DVD_DISK_SIZE 4480 ///< The default size (in MB) of a DVD disk, unless the user says otherwise.302 303 296 #define DEFAULT_DEBUG_LEVEL 4 ///< By default, don't log messages with a loglevel higher than this. 297 #define DEFAULT_MR_LOGLEVEL 4 304 298 305 299 #define SZ_NTFSPROG_VOLSIZE "1048576" // was 4096 … … 309 303 #define MNT_FLOPPY "/mnt/floppy" 310 304 311 #define DEFAULT_MR_LOGLEVEL 4312 313 305 #endif /* _MY_STUFF_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.