blob: 05ea62180cfb4cf0bf04daa2539aed3b882cf940 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/**********************************************************
* cvs_files.h
*
* Copyright 2004, Stefan Siegl <stesie@brokenpipe.de>, Germany
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Publice License,
* version 2 or any later. The license is contained in the COPYING
* file that comes with the cvsfs distribution.
*
* download arbitrary revisions from cvs host and cache them locally
*/
#ifndef CVS_FILES_H
#define CVS_FILES_H
#include <stdio.h>
/* Download the revision (as specified by rev) of the specified file. */
error_t cvs_files_cache(struct netnode *file, struct revision *rev);
/* ask cvs server whether there is a particular revision (as specified by rev)
* available. return 0 if yes, ENOENT if not. EIO on communication error.
*/
error_t cvs_files_hit(struct netnode *file, struct revision *rev);
#endif /* CVS_FILES_H */
|