Changeset 538 in MondoRescue for branches/stable/mondo/mondo/common/my-stuff.h
- Timestamp:
- May 13, 2006, 6:39:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/mondo/common/my-stuff.h
r511 r538 1 /* my-stuff.h 2 $Id$ 3 . 4 5 6 07/14 7 - ARCH_THREADS is now 2; buffers, 4 8 9 07/10 10 - added acl, xattr stuff 11 12 06/19 13 - added AUX_VER 14 15 06/14 16 - added DO_MBR_PLEASE 17 18 04/17 19 - replaced INTERNAL_TAPE_BLK_SIZE with g_internal_tape_block_size 20 and DEFAULT_INTERNAL_TAPE_BLOCK_SIZE 21 22 04/13 23 - log_msg is now calling standard_log_debug_msg, not the alias (log_debug_msg) 24 25 04/03/2004 26 - added star and SELINUX support 27 28 11/20/2003 29 - boot from isolinux.bin, not mindi-boot.2880.img 30 31 11/15 32 - reduced SLICE_SIZE from 8192 to 4096 33 34 10/08 35 - set p-i-h volsize to 1GB 36 37 10/21 38 - added MNT_CDROM and FREELOADER 39 40 10/11 41 - added DEFAULT_DVD_DISK_SIZE 42 - added PARTIMAGE_DEBUG_LEVEL 43 44 09/27 45 - better logging 46 47 09/24 48 - added MR_LOGFILE="/tmp/mondo-restore.log" 49 50 09/22 51 - added bool, FALSE, TRUE 52 53 09/20 54 - increasd PPCFG_RAMDISK_SIZE to 150 55 56 09/12 57 - reduced MAX_STR_LEN from 512 to 460 58 59 09/10 60 - moved PPCFG_RAMDISK_SIZE here 61 62 09/05 63 - better config.h stuff 64 65 06/05 66 - changed fgrep to grep 67 68 05/19 69 - added CP_BIN 70 71 05/05 72 - added #include <sys/param.h> and sys/sem.h and ioctl.h 73 74 05/03 75 - added kill_anything_like_this() 76 77 04/24/2003 78 - added *STUB #define's 79 80 11/22/2002 81 - added INTERNAL_TAPE_BLK_SIZE 82 83 10/10 84 - use #define to create XMondo-friendly log file name if appropriate 85 86 08/30 87 - changed ARBITRARY_MAXIMUM to 512 88 89 08/26 90 - set MAX_STR_LEN at 512 but halved it within many _structures_ 91 - changed ARBITRARY_MAXIMUM to 128 92 93 08/08 94 - added '#include <signal.h>' 95 - added WELCOME_STRING 96 97 06/19 98 - changed tape block size from 8192 to 65536 99 100 04/08 101 - added manual_cd_tray flag to bkpinfo 102 103 03/31 104 - added restore_path to struct s_bkpinfo 105 106 03/21 107 - updated version# to 1.42 108 109 02/20 110 - added bkpinfo->using_cdstream 111 112 02/06 113 - added MONDO_VERSION 114 115 02/02 116 - added MONDO_CFG_FILE 117 - added SLICE_SIZE 118 119 01/31 120 - removed MINDI_HOME: it is unnecessary 121 - replaced MONDO_HOME with variable g_mondo_home 122 123 01/25 124 - added MONDO_HOME, MINDI_HOME 125 126 01/21 127 - added s_node{} structure 128 129 01/17 130 - added sys/shm.h, types.h, ipc.h 131 132 01/02/2002 133 - added that groovy bkpinfo{} stuff 134 135 11/29/2001 136 - added raidlist{} struct 137 138 08/27 139 - stuff 1 /* 2 * Common defines across the project 3 * 4 * $Id$ 5 */ 6 7 #ifndef _MY_STUFF_H_ 8 #define _MY_STUFF_H_ 9 10 /* BERLIOS 11 #define HAVE_MALLOC 1 140 12 */ 141 142 #define HAVE_MALLOC 1143 144 13 145 14 // Extra info for ACLs and SELINUX users … … 158 27 * Create the illusion of a Boolean type. 159 28 */ 160 #define bool int29 #define bool unsigned char 161 30 #define TRUE 1 162 31 #define FALSE 0 163 32 #endif 164 33 165 #ifndef _MY_STUFF_H_ 166 #define _MY_STUFF_H_ 167 34 /* BERLIOS 168 35 #ifdef HAVE_CONFIG_H 169 36 #include <config.h> 170 37 #endif 38 */ 171 39 172 40 #ifndef __FreeBSD__ … … 181 49 #include <stdio.h> 182 50 #include <stdlib.h> 51 /* BERLIOS 183 52 #ifndef __USE_FILE_OFFSET64 184 53 #define __USE_FILE_OFFSET64 … … 187 56 #define __USE_LARGEFILE64 188 57 #endif 58 */ 189 59 #include <sys/stat.h> 190 60 #include <fcntl.h> … … 196 66 #include <unistd.h> 197 67 #include <signal.h> 198 //#include <curses.h>199 68 #include <newt.h> 200 69 #include <ctype.h> … … 203 72 #include <assert.h> 204 73 205 #include "../../config.h" 206 74 /* 207 75 #if defined(DEBUG) && !__cplusplus 208 76 int count; 209 char trace_log[255]; /*buffer for logging */77 char trace_log[255]; 210 78 char *trace_log_ptr; 211 #endif /* DEBUG */212 213 #define IA64_BOOT_SIZE "8192" /* Should be coherent with mindi */ 214 #define STD_PREFIX "mondorescue" /* Should be coherent with mindi */79 #endif 80 */ 81 82 #define STD_PREFIX "mondorescue" 215 83 216 84 /** … … 255 123 #define CRC_M16 0xA001 ///< Mask for crc16. 256 124 #define CRC_MTT 0x1021 ///< Mask for crc-ccitt. 257 258 #define FALSE 0 ///< The ubiquitous FALSE macro.259 #define TRUE 1 ///< The even more ubiquitous TRUE macro.260 125 261 126 #define SCREEN_LENGTH 25 ///< The default size of the screen.
Note:
See TracChangeset
for help on using the changeset viewer.