Changeset 1917 in MondoRescue for branches/2.2.6/mondo/src/mondoarchive
- Timestamp:
- Apr 17, 2008, 1:29:45 AM (17 years ago)
- Location:
- branches/2.2.6/mondo/src/mondoarchive
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.6/mondo/src/mondoarchive/Makefile.am
r1315 r1917 4 4 5 5 ## Headers 6 noinst_HEADERS = mondo -cli-EXT.h mondo-cli.h mondoarchive.h6 noinst_HEADERS = mondoarchive.h 7 7 8 8 ## The program 9 9 sbin_PROGRAMS = mondoarchive 10 mondoarchive_SOURCES = main.c mondo-cli.c10 mondoarchive_SOURCES = main.c 11 11 mondoarchive_LDADD = ${top_builddir}/src/common/libmondo.a -
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 /** -
branches/2.2.6/mondo/src/mondoarchive/mondoarchive.h
r1318 r1917 9 9 */ 10 10 char *MONDO_LOGFILE = "/var/log/mondoarchive.log"; 11 char *MONDO_OPTIONS = "0123456789A:B:C:DE:FGHI:J:K:LNOP:QRS:T:UVWb:c:d:ef:gik:l:mn:op:rs:tuw:x:z"; 11 12 12 13 /* No restriction on ps options */
Note:
See TracChangeset
for help on using the changeset viewer.