summaryrefslogtreecommitdiff
path: root/cvs_direct.h
diff options
context:
space:
mode:
authorYann DIRSON <ydirson@unx-4791.(none)>2006-04-11 10:58:28 +0200
committerYann DIRSON <ydirson@unx-4791.(none)>2006-04-11 10:58:28 +0200
commitfdf44680988ce53173262c8f6cb6b478a6ab04a9 (patch)
tree238ecd9c0dd480e4b0ac61ab30504f3c04611920 /cvs_direct.h
downloadcvsps-fdf44680988ce53173262c8f6cb6b478a6ab04a9.tar.gz
cvsps-2.1 tarball importupstream
Diffstat (limited to 'cvs_direct.h')
-rw-r--r--cvs_direct.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/cvs_direct.h b/cvs_direct.h
new file mode 100644
index 0000000..52a81a3
--- /dev/null
+++ b/cvs_direct.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2001, 2002, 2003 David Mansfield and Cobite, Inc.
+ * See COPYING file for license information
+ */
+
+#ifndef CVS_DIRECT_H
+#define CVS_DIRECT_H
+
+#ifndef HAVE_CVSSERVERCTX_DEF
+#define HAVE_CVSSERVERCTX_DEF
+typedef struct _CvsServerCtx CvsServerCtx;
+#endif
+
+CvsServerCtx * open_cvs_server(char * root, int);
+void close_cvs_server(CvsServerCtx*);
+void cvs_rdiff(CvsServerCtx *, const char *, const char *, const char *, const char *);
+void cvs_rupdate(CvsServerCtx *, const char *, const char *, const char *, int, const char *);
+void cvs_diff(CvsServerCtx *, const char *, const char *, const char *, const char *, const char *);
+FILE * cvs_rlog_open(CvsServerCtx *, const char *, const char *);
+char * cvs_rlog_fgets(char *, int, CvsServerCtx *);
+void cvs_rlog_close(CvsServerCtx *);
+void cvs_version(CvsServerCtx *, char *, char *);
+
+#endif /* CVS_DIRECT_H */