[BACK]Return to diff.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / cvs

Diff for /src/usr.bin/cvs/diff.h between version 1.20 and 1.21

version 1.20, 2009/06/07 08:39:13 version 1.21, 2010/07/23 21:46:05
Line 63 
Line 63 
  *   *
  *      @(#)diffreg.c   8.1 (Berkeley) 6/6/93   *      @(#)diffreg.c   8.1 (Berkeley) 6/6/93
  */   */
 #ifndef CVS_DIFF_H  #ifndef DIFF_H
 #define CVS_DIFF_H  #define DIFF_H
 #define CVS_DIFF_DEFCTX 3       /* default context length */  #define CVS_DIFF_DEFCTX 3       /* default context length */
   
 /*  /*
Line 80 
Line 80 
 /*  /*
  * Command line flags   * Command line flags
  */   */
 #define D_FORCEASCII    0x01    /* Treat file as ascii regardless of content */  #define D_FORCEASCII    0x01    /* Treat file as ascii regardless of content */
 #define D_FOLDBLANKS    0x02    /* Treat all white space as equal */  #define D_FOLDBLANKS    0x02    /* Treat all white space as equal */
 #define D_MINIMAL       0x04    /* Make diff as small as possible */  #define D_MINIMAL       0x04    /* Make diff as small as possible */
 #define D_IGNORECASE    0x08    /* Case-insensitive matching */  #define D_IGNORECASE    0x08    /* Case-insensitive matching */
 #define D_PROTOTYPE     0x10    /* Display C function prototype */  #define D_PROTOTYPE     0x10    /* Display C function prototype */
 #define D_EXPANDTABS    0x20    /* Expand tabs to spaces */  #define D_EXPANDTABS    0x20    /* Expand tabs to spaces */
 #define D_IGNOREBLANKS  0x40    /* Ignore white space changes */  #define D_IGNOREBLANKS  0x40    /* Ignore white space changes */
   
 /*  /*
  * Status values for diffreg() return values   * Status values for diffreg() return values
Line 105 
Line 105 
 void            cvs_merge_file(struct cvs_file *, int);  void            cvs_merge_file(struct cvs_file *, int);
 void            diff_output(const char *, ...);  void            diff_output(const char *, ...);
 int             diffreg(const char *, const char *, int, int, BUF *, int);  int             diffreg(const char *, const char *, int, int, BUF *, int);
 int             ed_patch_lines(struct cvs_lines *, struct cvs_lines *);  int             ed_patch_lines(struct rcs_lines *, struct rcs_lines *);
   
 extern int       diff_format;  extern int       diff_format;
 extern int       diff3_conflicts;  extern int       diff3_conflicts;
Line 116 
Line 116 
 extern int       diff_pflag;  extern int       diff_pflag;
 extern int       diff_wflag;  extern int       diff_wflag;
 extern char     *diff_file;  extern char     *diff_file;
 extern char      diffargs[128];  extern char      diffargs[512]; /* XXX */
 extern BUF      *diffbuf;  extern BUF      *diffbuf;
 extern RCSNUM   *diff_rev1;  extern RCSNUM   *diff_rev1;
 extern RCSNUM   *diff_rev2;  extern RCSNUM   *diff_rev2;
 extern RCSNUM   *d3rev1;  extern RCSNUM   *d3rev1;
 extern RCSNUM   *d3rev2;  extern RCSNUM   *d3rev2;
   
 #endif  #endif  /* DIFF_H */

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21