diff options
author | Yann DIRSON <ydirson@unx-4791.(none)> | 2006-04-11 10:58:28 +0200 |
---|---|---|
committer | Yann DIRSON <ydirson@unx-4791.(none)> | 2006-04-11 10:58:28 +0200 |
commit | fdf44680988ce53173262c8f6cb6b478a6ab04a9 (patch) | |
tree | 238ecd9c0dd480e4b0ac61ab30504f3c04611920 /cvsps.h | |
download | cvsps-fdf44680988ce53173262c8f6cb6b478a6ab04a9.tar.gz |
cvsps-2.1 tarball importupstream
Diffstat (limited to 'cvsps.h')
-rw-r--r-- | cvsps.h | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -0,0 +1,34 @@ +/* + * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc. + * See COPYING file for license information + */ + +#ifndef CVSPS_H +#define CVSPS_H + +#ifndef HAVE_CVSSERVERCTX_DEF +#define HAVE_CVSSERVERCTX_DEF +typedef struct _CvsServerCtx CvsServerCtx; +#endif + +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif + +extern struct hash_table * file_hash; +extern const char * tag_flag_descr[]; +extern CvsServerCtx * cvs_direct_ctx; +extern char root_path[]; +extern char repository_path[]; + +CvsFile * create_cvsfile(); +CvsFileRevision * cvs_file_add_revision(CvsFile *, const char *); +void cvs_file_add_symbol(CvsFile * file, const char * rev, const char * tag); +char * cvs_file_add_branch(CvsFile *, const char *, const char *); +PatchSet * get_patch_set(const char *, const char *, const char *, const char *, PatchSetMember *); +PatchSetMember * create_patch_set_member(); +CvsFileRevision * file_get_revision(CvsFile *, const char *); +void patch_set_add_member(PatchSet * ps, PatchSetMember * psm); +void walk_all_patch_sets(void (*action)(PatchSet *)); + +#endif /* CVSPS_H */ |