summaryrefslogtreecommitdiff
path: root/misc/parchive/patches/patch-ac
blob: e6d1b5b49bdacbdf421082cabde019680e7af5e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$NetBSD: patch-ac,v 1.1 2003/08/25 20:23:08 fredb Exp $

--- par.h.orig	Sat Nov 17 14:08:19 2001
+++ par.h
@@ -82,6 +82,7 @@ extern struct cmdline {
 #define ACTION_ADD	11	/*\ Create a PAR archive ... \*/
 #define ACTION_ADDING	12	/*\ ... and add files to it. \*/
 #define ACTION_TEXT_UI	20	/*\ Interactive text interface \*/
+#define ACTION_CONTENTS	21	/*\ List contents of PAR file \*/
 
 #define PAR_MAGIC (*((i64 *)"PAR\0\0\0\0\0"))
 #define IS_PAR(x) (((x).magic) == PAR_MAGIC)