version 1.41, 2005/07/24 16:46:39 |
version 1.42, 2005/07/25 12:05:43 |
|
|
#include "log.h" |
#include "log.h" |
|
|
|
|
#define CVS_ENTRIES_NFIELDS 6 |
#define CVS_ENTRIES_NFIELDS 6 |
#define CVS_ENTRIES_DELIM '/' |
#define CVS_ENTRIES_DELIM '/' |
|
|
|
|
/* |
/* |
|
|
* 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; |
|
|
* <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; |
|
|
* 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) |