diff options
author | Keith Packard <keithp@evo.keithp.com> | 2006-02-20 11:35:16 -0800 |
---|---|---|
committer | Keith Packard <keithp@evo.keithp.com> | 2006-02-20 11:35:16 -0800 |
commit | cd83b8130e6d3a05135e959859cfc3f180d1ea69 (patch) | |
tree | 238ecd9c0dd480e4b0ac61ab30504f3c04611920 /cvsps.h |
cvsps 2.1cvsps-2.1
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 */ |