File: cvs_direct.h

package info (click to toggle)
cvsps 2.1-5
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 360 kB
  • ctags: 402
  • sloc: ansic: 4,687; sh: 204; makefile: 77
file content (24 lines) | stat: -rw-r--r-- 874 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */