FreeBSD isn't evil - just misguided
[cvsps-yd/commitid.git] / cvs_direct.h
blob52a81a3d4e06099971d0f7b02bb183615cf28fb0
1 /*
2 * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc.
3 * See COPYING file for license information
4 */
6 #ifndef CVS_DIRECT_H
7 #define CVS_DIRECT_H
9 #ifndef HAVE_CVSSERVERCTX_DEF
10 #define HAVE_CVSSERVERCTX_DEF
11 typedef struct _CvsServerCtx CvsServerCtx;
12 #endif
14 CvsServerCtx * open_cvs_server(char * root, int);
15 void close_cvs_server(CvsServerCtx*);
16 void cvs_rdiff(CvsServerCtx *, const char *, const char *, const char *, const char *);
17 void cvs_rupdate(CvsServerCtx *, const char *, const char *, const char *, int, const char *);
18 void cvs_diff(CvsServerCtx *, const char *, const char *, const char *, const char *, const char *);
19 FILE * cvs_rlog_open(CvsServerCtx *, const char *, const char *);
20 char * cvs_rlog_fgets(char *, int, CvsServerCtx *);
21 void cvs_rlog_close(CvsServerCtx *);
22 void cvs_version(CvsServerCtx *, char *, char *);
24 #endif /* CVS_DIRECT_H */