summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3-main.h
diff options
context:
space:
mode:
authorjosh.macdonald <jmacd@users.noreply.github.com>2007-03-24 13:04:09 +0000
committerjosh.macdonald <jmacd@users.noreply.github.com>2007-03-24 13:04:09 +0000
commitf52e28968f4f9d782b9f98f25b10e1cafbee0b11 (patch)
tree627352ffcdfa3149bf8213b5707c8ffb43546b01 /xdelta3/xdelta3-main.h
parentca6951c05772975cff7d67dba745c3bc33e71252 (diff)
Rename #define P to #define DP
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r--xdelta3/xdelta3-main.h134
1 files changed, 67 insertions, 67 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h
index 5aa3d88..a912a1f 100644
--- a/xdelta3/xdelta3-main.h
+++ b/xdelta3/xdelta3-main.h
@@ -328,8 +328,8 @@ static int main_help (void);
328static int 328static int
329main_version (void) 329main_version (void)
330{ 330{
331 /* $Format: " P(RINT \"VERSION=3.$Xdelta3Version$\\n\");" $ */ 331 /* $Format: " DP(RINT \"VERSION=3.$Xdelta3Version$\\n\");" $ */
332 P(RINT "VERSION=3.0o\n"); 332 DP(RINT "VERSION=3.0o\n");
333 return EXIT_SUCCESS; 333 return EXIT_SUCCESS;
334} 334}
335 335
@@ -338,27 +338,27 @@ main_config (void)
338{ 338{
339 main_version (); 339 main_version ();
340 340
341 P(RINT "EXTERNAL_COMPRESSION=%d\n", EXTERNAL_COMPRESSION); 341 DP(RINT "EXTERNAL_COMPRESSION=%d\n", EXTERNAL_COMPRESSION);
342 P(RINT "GENERIC_ENCODE_TABLES=%d\n", GENERIC_ENCODE_TABLES); 342 DP(RINT "GENERIC_ENCODE_TABLES=%d\n", GENERIC_ENCODE_TABLES);
343 P(RINT "GENERIC_ENCODE_TABLES_COMPUTE=%d\n", GENERIC_ENCODE_TABLES_COMPUTE); 343 DP(RINT "GENERIC_ENCODE_TABLES_COMPUTE=%d\n", GENERIC_ENCODE_TABLES_COMPUTE);
344 P(RINT "REGRESSION_TEST=%d\n", REGRESSION_TEST); 344 DP(RINT "REGRESSION_TEST=%d\n", REGRESSION_TEST);
345 P(RINT "SECONDARY_DJW=%d\n", SECONDARY_DJW); 345 DP(RINT "SECONDARY_DJW=%d\n", SECONDARY_DJW);
346 P(RINT "SECONDARY_FGK=%d\n", SECONDARY_FGK); 346 DP(RINT "SECONDARY_FGK=%d\n", SECONDARY_FGK);
347 P(RINT "VCDIFF_TOOLS=%d\n", VCDIFF_TOOLS); 347 DP(RINT "VCDIFF_TOOLS=%d\n", VCDIFF_TOOLS);
348 P(RINT "XD3_ALLOCSIZE=%d\n", XD3_ALLOCSIZE); 348 DP(RINT "XD3_ALLOCSIZE=%d\n", XD3_ALLOCSIZE);
349 P(RINT "XD3_DEBUG=%d\n", XD3_DEBUG); 349 DP(RINT "XD3_DEBUG=%d\n", XD3_DEBUG);
350 P(RINT "XD3_ENCODER=%d\n", XD3_ENCODER); 350 DP(RINT "XD3_ENCODER=%d\n", XD3_ENCODER);
351 P(RINT "XD3_POSIX=%d\n", XD3_POSIX); 351 DP(RINT "XD3_POSIX=%d\n", XD3_POSIX);
352 P(RINT "XD3_STDIO=%d\n", XD3_STDIO); 352 DP(RINT "XD3_STDIO=%d\n", XD3_STDIO);
353 P(RINT "XD3_WIN32=%d\n", XD3_WIN32); 353 DP(RINT "XD3_WIN32=%d\n", XD3_WIN32);
354 P(RINT "XD3_USE_LARGEFILE64=%d\n", XD3_USE_LARGEFILE64); 354 DP(RINT "XD3_USE_LARGEFILE64=%d\n", XD3_USE_LARGEFILE64);
355 P(RINT "XD3_DEFAULT_LEVEL=%d\n", XD3_DEFAULT_LEVEL); 355 DP(RINT "XD3_DEFAULT_LEVEL=%d\n", XD3_DEFAULT_LEVEL);
356 P(RINT "XD3_DEFAULT_IOPT_SIZE=%d\n", XD3_DEFAULT_IOPT_SIZE); 356 DP(RINT "XD3_DEFAULT_IOPT_SIZE=%d\n", XD3_DEFAULT_IOPT_SIZE);
357 P(RINT "XD3_DEFAULT_SPREVSZ=%d\n", XD3_DEFAULT_SPREVSZ); 357 DP(RINT "XD3_DEFAULT_SPREVSZ=%d\n", XD3_DEFAULT_SPREVSZ);
358 P(RINT "XD3_DEFAULT_SRCWINSZ=%d\n", XD3_DEFAULT_SRCWINSZ); 358 DP(RINT "XD3_DEFAULT_SRCWINSZ=%d\n", XD3_DEFAULT_SRCWINSZ);
359 P(RINT "XD3_DEFAULT_WINSIZE=%d\n", XD3_DEFAULT_WINSIZE); 359 DP(RINT "XD3_DEFAULT_WINSIZE=%d\n", XD3_DEFAULT_WINSIZE);
360 P(RINT "XD3_HARDMAXWINSIZE=%d\n", XD3_HARDMAXWINSIZE); 360 DP(RINT "XD3_HARDMAXWINSIZE=%d\n", XD3_HARDMAXWINSIZE);
361 P(RINT "XD3_NODECOMPRESSSIZE=%d\n", XD3_NODECOMPRESSSIZE); 361 DP(RINT "XD3_NODECOMPRESSSIZE=%d\n", XD3_NODECOMPRESSSIZE);
362 362
363 return EXIT_SUCCESS; 363 return EXIT_SUCCESS;
364} 364}
@@ -3269,58 +3269,58 @@ main_help (void)
3269{ 3269{
3270 /* Note: update wiki when command-line features change */ 3270 /* Note: update wiki when command-line features change */
3271 main_version (); 3271 main_version ();
3272 P(RINT "usage: xdelta3 [command/options] [input [output]]\n"); 3272 DP(RINT "usage: xdelta3 [command/options] [input [output]]\n");
3273 P(RINT "special command names:\n"); 3273 DP(RINT "special command names:\n");
3274 P(RINT " config prints xdelta3 configuration\n"); 3274 DP(RINT " config prints xdelta3 configuration\n");
3275 P(RINT " decode decompress the input\n"); 3275 DP(RINT " decode decompress the input\n");
3276 P(RINT " encode compress the input%s\n", XD3_ENCODER ? "" : " [Not compiled]"); 3276 DP(RINT " encode compress the input%s\n", XD3_ENCODER ? "" : " [Not compiled]");
3277#if REGRESSION_TEST 3277#if REGRESSION_TEST
3278 P(RINT " test run the builtin tests\n"); 3278 DP(RINT " test run the builtin tests\n");
3279#endif 3279#endif
3280#if VCDIFF_TOOLS 3280#if VCDIFF_TOOLS
3281 P(RINT "special commands for VCDIFF inputs:\n"); 3281 DP(RINT "special commands for VCDIFF inputs:\n");
3282 P(RINT " printdelta print information about the entire delta\n"); 3282 DP(RINT " printdelta print information about the entire delta\n");
3283 P(RINT " printhdr print information about the first window\n"); 3283 DP(RINT " printhdr print information about the first window\n");
3284 P(RINT " printhdrs print information about all windows\n"); 3284 DP(RINT " printhdrs print information about all windows\n");
3285#endif 3285#endif
3286 P(RINT "standard options:\n"); 3286 DP(RINT "standard options:\n");
3287 P(RINT " -0 .. -9 compression level\n"); 3287 DP(RINT " -0 .. -9 compression level\n");
3288 P(RINT " -c use stdout\n"); 3288 DP(RINT " -c use stdout\n");
3289 P(RINT " -d decompress\n"); 3289 DP(RINT " -d decompress\n");
3290 P(RINT " -e compress%s\n", XD3_ENCODER ? "" : " [Not compiled]"); 3290 DP(RINT " -e compress%s\n", XD3_ENCODER ? "" : " [Not compiled]");
3291 P(RINT " -f force overwrite\n"); 3291 DP(RINT " -f force overwrite\n");
3292 P(RINT " -h show help\n"); 3292 DP(RINT " -h show help\n");
3293 P(RINT " -q be quiet\n"); 3293 DP(RINT " -q be quiet\n");
3294 P(RINT " -v be verbose (max 2)\n"); 3294 DP(RINT " -v be verbose (max 2)\n");
3295 P(RINT " -V show version\n"); 3295 DP(RINT " -V show version\n");
3296 3296
3297 P(RINT "memory options:\n"); 3297 DP(RINT "memory options:\n");
3298 P(RINT " -B bytes source window size\n"); 3298 DP(RINT " -B bytes source window size\n");
3299 P(RINT " -W bytes input window size\n"); 3299 DP(RINT " -W bytes input window size\n");
3300 P(RINT " -P size compression duplicates window\n"); 3300 DP(RINT " -P size compression duplicates window\n");
3301 P(RINT " -I size instruction buffer size (0 = unlimited)\n"); 3301 DP(RINT " -I size instruction buffer size (0 = unlimited)\n");
3302 3302
3303 P(RINT "compression options:\n"); 3303 DP(RINT "compression options:\n");
3304 P(RINT " -s source source file to copy from (if any)\n"); 3304 DP(RINT " -s source source file to copy from (if any)\n");
3305 P(RINT " -S [djw|fgk] enable/disable secondary compression\n"); 3305 DP(RINT " -S [djw|fgk] enable/disable secondary compression\n");
3306 P(RINT " -N disable small string-matching compression\n"); 3306 DP(RINT " -N disable small string-matching compression\n");
3307 P(RINT " -D disable external decompression (encode/decode)\n"); 3307 DP(RINT " -D disable external decompression (encode/decode)\n");
3308 P(RINT " -R disable external recompression (decode)\n"); 3308 DP(RINT " -R disable external recompression (decode)\n");
3309 P(RINT " -n disable checksum (encode/decode)\n"); 3309 DP(RINT " -n disable checksum (encode/decode)\n");
3310 P(RINT " -C soft config (encode, undocumented)\n"); 3310 DP(RINT " -C soft config (encode, undocumented)\n");
3311 P(RINT " -A [apphead] disable/provide application header (encode)\n"); 3311 DP(RINT " -A [apphead] disable/provide application header (encode)\n");
3312 3312
3313#if XD3_DEBUG > 0 3313#if XD3_DEBUG > 0
3314 P(RINT "developer options:\n"); 3314 DP(RINT "developer options:\n");
3315 P(RINT " -J disable output (check/compute only)\n"); 3315 DP(RINT " -J disable output (check/compute only)\n");
3316 P(RINT " -P repeat count (for profiling)\n"); 3316 DP(RINT " -P repeat count (for profiling)\n");
3317 P(RINT " -T use alternate code table\n"); 3317 DP(RINT " -T use alternate code table\n");
3318#endif 3318#endif
3319 3319
3320 P(RINT "the XDELTA environment variable may contain extra args:\n"); 3320 DP(RINT "the XDELTA environment variable may contain extra args:\n");
3321 P(RINT " XDELTA=\"-s source-x.y.tar.gz\" \\\n"); 3321 DP(RINT " XDELTA=\"-s source-x.y.tar.gz\" \\\n");
3322 P(RINT " tar --use-compress-program=xdelta3 \\\n"); 3322 DP(RINT " tar --use-compress-program=xdelta3 \\\n");
3323 P(RINT " -cf target-x.z.tar.gz.vcdiff target-x.y/\n"); 3323 DP(RINT " -cf target-x.z.tar.gz.vcdiff target-x.y/\n");
3324 return EXIT_FAILURE; 3324 return EXIT_FAILURE;
3325} 3325}
3326 3326