Changeset 1917 in MondoRescue for branches/2.2.6/mondo/src/mondoarchive/main.c
- Timestamp:
- Apr 17, 2008, 1:29:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.6/mondo/src/mondoarchive/main.c
r1885 r1917 116 116 #include "../common/mondostructures.h" 117 117 #include "../common/libmondo.h" 118 #include " mondo-cli-EXT.h"118 #include "../common/libmondo-cli-EXT.h" 119 119 #include "../common/libmondo-tools-EXT.h" 120 120 #include "mondoarchive.h" … … 137 137 138 138 /***************** global vars, used only by main.c ******************/ 139 bool g_skip_floppies;139 extern bool g_skip_floppies; 140 140 long diffs; 141 141 142 142 extern t_bkptype g_backup_media_type; 143 143 extern int g_loglevel; 144 145 /** 146 * Whether we're restoring from ISOs. Obviously not, since this is the 147 * backup program. 148 * @note You @b MUST declare this variable somewhere in your program if 149 * you use libmondo. Otherwise the link will fail. 150 * @ingroup globalGroup 151 */ 152 bool g_ISO_restore_mode = FALSE; 153 154 /* Do we use extended attributes and acl ? 155 * * By default no, use --acl & --attr options to force their usage */ 156 char *g_getfacl = NULL; 157 char *g_getfattr = NULL; 144 158 145 159 /* Reference to global bkpinfo */ … … 242 256 } 243 257 244 /* Return a string containing the date */245 char *mr_date(void) {246 247 time_t tcurr;248 249 tcurr = time(NULL);250 return(ctime(&tcurr));251 }252 253 /*-----------------------------------------------------------*/254 255 256 258 257 259 /**
Note:
See TracChangeset
for help on using the changeset viewer.