English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Diff of /branches/freewrt_1_0/tools/paxmirabilis/src/pax.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2714 by wbx, Thu Sep 28 10:42:55 2006 UTC revision 2715 by tg, Tue Jun 5 14:52:44 2007 UTC
# Line 1  Line 1 
1  /**     $MirOS: src/bin/pax/pax.h,v 1.4 2006/06/23 23:03:57 tg Exp $ */  /**     $MirOS: src/bin/pax/pax.h,v 1.6 2007/01/23 11:55:54 tg Exp $ */
2  /*      $OpenBSD: pax.h,v 1.17 2005/11/09 19:59:06 otto Exp $   */  /*      $OpenBSD: pax.h,v 1.17 2005/11/09 19:59:06 otto Exp $   */
3  /*      $NetBSD: pax.h,v 1.3 1995/03/21 09:07:41 cgd Exp $      */  /*      $NetBSD: pax.h,v 1.3 1995/03/21 09:07:41 cgd Exp $      */
4    
# Line 55  Line 55 
55  /*  /*
56   * Pax modes of operation   * Pax modes of operation
57   */   */
58    #define ERROR           -1      /* nothing selected */
59  #define LIST            0       /* List the file in an archive */  #define LIST            0       /* List the file in an archive */
60  #define EXTRACT         1       /* extract the files in an archive */  #define EXTRACT         1       /* extract the files in an archive */
61  #define ARCHIVE         2       /* write a new archive */  #define ARCHIVE         2       /* write a new archive */
62  #define APPND           3       /* append to the end of an archive */  #define APPND           3       /* append to the end of an archive */
63  #define COPY            4       /* copy files to destination dir */  #define COPY            4       /* copy files to destination dir */
 #define DEFOP           LIST    /* if no flags default is to LIST */  
64    
65  /*  /*
66   * Device type of the current archive volume   * Device type of the current archive volume
# Line 140  typedef struct { Line 140  typedef struct {
140   * dependent routines pass pointers to ARCHD structure (described below).   * dependent routines pass pointers to ARCHD structure (described below).
141   */   */
142  typedef struct {  typedef struct {
143          char *name;             /* name of format, this is the name the user */          const char *name;       /* name of format, this is the name the user */
144                                  /* gives to -x option to select it. */                                  /* gives to -x option to select it. */
145          int bsz;                /* default block size. used when the user */          int bsz;                /* default block size. used when the user */
146                                  /* does not specify a blocksize for writing */                                  /* does not specify a blocksize for writing */

Legend:
Removed from v.2714  
changed lines
  Added in v.2715

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20