mingw-sys-socket.p
[cvsps/4msysgit.git] / cvsps.h
blob280a2533d7bf2580712142eb44ff869210d77429
1 /*
2 * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc.
3 * See COPYING file for license information
4 */
6 #ifndef CVSPS_H
7 #define CVSPS_H
9 #ifndef HAVE_CVSSERVERCTX_DEF
10 #define HAVE_CVSSERVERCTX_DEF
11 typedef struct _CvsServerCtx CvsServerCtx;
12 #endif
14 #ifndef PATH_MAX
15 #define PATH_MAX 4096
16 #endif
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 *));
34 #endif /* CVSPS_H */