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

Diff for /src/usr.bin/cvs/cvs.h between version 1.8 and 1.9

version 1.8, 2004/07/25 03:18:53 version 1.9, 2004/07/26 15:56:43
Line 29 
Line 29 
   
 #include <sys/param.h>  #include <sys/param.h>
 #include <stdio.h>  #include <stdio.h>
   #include <dirent.h>
   
 #include "rcs.h"  #include "rcs.h"
   
 #define CVS_VERSION    "OpenCVS 0.1"  #define CVS_VERSION    "OpenCVS 0.1"
Line 265 
Line 267 
 #define CVS_FST_REMOVED   4  #define CVS_FST_REMOVED   4
 #define CVS_FST_CONFLICT  5  #define CVS_FST_CONFLICT  5
   
 struct cvs_file {  typedef struct cvs_file {
         char            *cf_path;          char            *cf_path;
         struct cvs_file *cf_parent;  /* parent directory (NULL if none) */          struct cvs_file *cf_parent;  /* parent directory (NULL if none) */
         char            *cf_name;          char            *cf_name;
Line 275 
Line 277 
         struct cvs_dir  *cf_ddat;    /* only for directories */          struct cvs_dir  *cf_ddat;    /* only for directories */
   
         LIST_ENTRY(cvs_file)  cf_list;          LIST_ENTRY(cvs_file)  cf_list;
 };  } CVSFILE;
   
   
 struct cvs_dir {  struct cvs_dir {
Line 351 
Line 353 
   
 /* client command handlers */  /* client command handlers */
 int  cvs_add      (int, char **);  int  cvs_add      (int, char **);
   int  cvs_checkout (int, char **);
 int  cvs_commit   (int, char **);  int  cvs_commit   (int, char **);
 int  cvs_diff     (int, char **);  int  cvs_diff     (int, char **);
 int  cvs_getlog   (int, char **);  int  cvs_getlog   (int, char **);
Line 396 
Line 399 
   
   
 /* from file.c */  /* from file.c */
 int              cvs_file_init      (void);  int      cvs_file_init    (void);
 int              cvs_file_ignore    (const char *);  int      cvs_file_ignore  (const char *);
 int              cvs_file_isignored (const char *);  int      cvs_file_chkign  (const char *);
 char**           cvs_file_getv      (const char *, int *, int);  char**   cvs_file_getv    (const char *, int *, int);
 struct cvs_file* cvs_file_get       (const char *, int);  CVSFILE* cvs_file_get     (const char *, int);
 void             cvs_file_free      (struct cvs_file *);  void     cvs_file_free    (struct cvs_file *);
   int      cvs_file_examine (CVSFILE *, int (*)(CVSFILE *, void *), void *);
   
   
 /* Entries API */  /* Entries API */

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9