2 * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc.
3 * See COPYING file for license information
9 #ifndef HAVE_CVSSERVERCTX_DEF
10 #define HAVE_CVSSERVERCTX_DEF
11 typedef struct _CvsServerCtx CvsServerCtx
;
18 extern struct hash_table
* file_hash
;
19 extern const char * tag_flag_descr
[];
20 extern CvsServerCtx
* cvs_direct_ctx
;
21 extern char root_path
[];
22 extern char repository_path
[];
24 CvsFile
* create_cvsfile();
25 CvsFileRevision
* cvs_file_add_revision(CvsFile
*, const char *);
26 void cvs_file_add_symbol(CvsFile
* file
, const char * rev
, const char * tag
);
27 char * cvs_file_add_branch(CvsFile
*, const char *, const char *);
28 PatchSet
* get_patch_set(const char *, const char *, const char *, const char *, PatchSetMember
*);
29 PatchSetMember
* create_patch_set_member();
30 CvsFileRevision
* file_get_revision(CvsFile
*, const char *);
31 void patch_set_add_member(PatchSet
* ps
, PatchSetMember
* psm
);
32 void walk_all_patch_sets(void (*action
)(PatchSet
*));