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

Diff for /src/usr.bin/cvs/entries.c between version 1.41 and 1.42

version 1.41, 2005/07/24 16:46:39 version 1.42, 2005/07/25 12:05:43
Line 37 
Line 37 
 #include "log.h"  #include "log.h"
   
   
 #define CVS_ENTRIES_NFIELDS  6  #define CVS_ENTRIES_NFIELDS     6
 #define CVS_ENTRIES_DELIM   '/'  #define CVS_ENTRIES_DELIM       '/'
   
   
 /*  /*
Line 48 
Line 48 
  * Returns a pointer to the CVSENTRIES file structure on success, or NULL   * Returns a pointer to the CVSENTRIES file structure on success, or NULL
  * on failure.   * on failure.
  */   */
 CVSENTRIES*  CVSENTRIES *
 cvs_ent_open(const char *dir, int flags)  cvs_ent_open(const char *dir, int flags)
 {  {
         size_t len;          size_t len;
Line 285 
Line 285 
  * <file>.   * <file>.
  * Returns a pointer to the cvs entry structure on success, or NULL on failure.   * Returns a pointer to the cvs entry structure on success, or NULL on failure.
  */   */
 struct cvs_ent*  struct cvs_ent *
 cvs_ent_get(CVSENTRIES *ef, const char *file)  cvs_ent_get(CVSENTRIES *ef, const char *file)
 {  {
         struct cvs_ent *ent;          struct cvs_ent *ent;
Line 306 
Line 306 
  * will return the entry following the last one returned.   * will return the entry following the last one returned.
  * Returns a pointer to the cvs entry structure on success, or NULL on failure.   * Returns a pointer to the cvs entry structure on success, or NULL on failure.
  */   */
 struct cvs_ent*  struct cvs_ent *
 cvs_ent_next(CVSENTRIES *ef)  cvs_ent_next(CVSENTRIES *ef)
 {  {
         if (ef->cef_cur == NULL)          if (ef->cef_cur == NULL)

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42