=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/proto.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- src/usr.bin/cvs/Attic/proto.h 2004/07/30 01:49:24 1.1 +++ src/usr.bin/cvs/Attic/proto.h 2004/07/30 17:37:58 1.2 @@ -1,4 +1,4 @@ -/* $OpenBSD: proto.h,v 1.1 2004/07/30 01:49:24 jfb Exp $ */ +/* $OpenBSD: proto.h,v 1.2 2004/07/30 17:37:58 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -28,9 +28,10 @@ #define PROTO_H #include -#include -#include +#include "buf.h" +#include "file.h" + #define CVS_REQ_TIMEOUT 300 @@ -145,7 +146,7 @@ int cvs_sendfile (struct cvsroot *, const char *); -int cvs_recvfile (struct cvsroot *, const char *); +BUF* cvs_recvfile (struct cvsroot *, mode_t *); int cvs_connect (struct cvsroot *); void cvs_disconnect (struct cvsroot *);