version 1.34, 2004/12/07 06:33:10 |
version 1.35, 2004/12/07 17:10:56 |
|
|
/* $OpenBSD$ */ |
/* $OpenBSD$ */ |
/* |
/* |
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> |
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> |
* All rights reserved. |
* All rights reserved. |
* |
* |
* Redistribution and use in source and binary forms, with or without |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions |
* modification, are permitted provided that the following conditions |
* are met: |
* are met: |
* |
* |
* 1. Redistributions of source code must retain the above copyright |
* 1. Redistributions of source code must retain the above copyright |
* notice, this list of conditions and the following disclaimer. |
* notice, this list of conditions and the following disclaimer. |
* 2. The name of the author may not be used to endorse or promote products |
* 2. The name of the author may not be used to endorse or promote products |
* derived from this software without specific prior written permission. |
* derived from this software without specific prior written permission. |
* |
* |
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, |
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
|
|
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
*/ |
|
|
#ifndef CVS_H |
#ifndef CVS_H |
|
|
#define CVS_OP_ANY 64 /* all operations */ |
#define CVS_OP_ANY 64 /* all operations */ |
|
|
|
|
|
|
/* methods */ |
/* methods */ |
#define CVS_METHOD_NONE 0 |
#define CVS_METHOD_NONE 0 |
#define CVS_METHOD_LOCAL 1 /* local access */ |
#define CVS_METHOD_LOCAL 1 /* local access */ |
|
|
}; |
}; |
|
|
|
|
|
|
struct cvsroot { |
struct cvsroot { |
char *cr_str; |
char *cr_str; |
u_int cr_method; |
u_int cr_method; |
|
|
} CVSENTRIES; |
} CVSENTRIES; |
|
|
|
|
|
|
struct cvs_hent { |
struct cvs_hent { |
char ch_event; |
char ch_event; |
time_t ch_date; |
time_t ch_date; |
|
|
extern CVSFILE *cvs_files; |
extern CVSFILE *cvs_files; |
|
|
#endif |
#endif |
|
|
|
|
|
|
/* client command handlers */ |
/* client command handlers */ |