diff options
author | obrien <obrien@FreeBSD.org> | 2008-01-13 05:49:32 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2008-01-13 05:49:32 +0000 |
commit | def79099e7c2ca2b773aa94d5b80c571dec9460f (patch) | |
tree | 9a6cba0f4384569a2eee18bf74577d8fd41aa2c7 /contrib/cvs/src/root.h | |
parent | 0526761d4d99d34d2de093998c7ccd3f82695651 (diff) | |
parent | 55b663837dd12bbe5836969ac2a3f052a9028ea5 (diff) | |
download | FreeBSD-src-def79099e7c2ca2b773aa94d5b80c571dec9460f.zip FreeBSD-src-def79099e7c2ca2b773aa94d5b80c571dec9460f.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r175261,
which included commits to RCS files with non-trunk default branches.
Diffstat (limited to 'contrib/cvs/src/root.h')
-rw-r--r-- | contrib/cvs/src/root.h | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/contrib/cvs/src/root.h b/contrib/cvs/src/root.h index b812eef..b6edec4 100644 --- a/contrib/cvs/src/root.h +++ b/contrib/cvs/src/root.h @@ -1,7 +1,11 @@ /* - * Copyright (c) 2001, Derek Price and others - * Copyright (c) 1992, Brian Berliner and Jeff Polk - * Copyright (c) 1989-1992, Brian Berliner + * Copyright (C) 1986-2005 The Free Software Foundation, Inc. + * + * Portions Copyright (C) 1998-2005 Derek Price, Ximbiot <http://ximbiot.com>, + * and others. + * + * Portions Copyright (C) 1992, Brian Berliner and Jeff Polk + * Portions Copyright (C) 1989-1992, Brian Berliner * * You may distribute under the terms of the GNU General Public License as * specified in the README file that comes with the CVS kit. @@ -18,6 +22,7 @@ typedef enum { kserver_method, gserver_method, ext_method, + extssh_method, fork_method } CVSmethod; extern const char method_names[][16]; /* change this in root.c if you change @@ -27,6 +32,7 @@ typedef struct cvsroot_s { char *original; /* The complete source CVSroot string. */ CVSmethod method; /* One of the enum values above. */ char *directory; /* The directory name. */ + unsigned char isremote; /* Nonzero if we are doing remote access. */ #ifdef CLIENT_SUPPORT char *username; /* The username or NULL if method == local. */ char *password; /* The password or NULL if method == local. */ @@ -37,6 +43,14 @@ typedef struct cvsroot_s { * used. */ int proxy_port; /* The port of the proxy or zero, as above. */ - unsigned char isremote; /* Nonzero if we are doing remote access. */ #endif /* CLIENT_SUPPORT */ } cvsroot_t; + +cvsroot_t *Name_Root PROTO((const char *dir, const char *update_dir)); +void free_cvsroot_t PROTO((cvsroot_t *root_in)); +cvsroot_t *parse_cvsroot PROTO((const char *root)); +cvsroot_t *local_cvsroot PROTO((const char *dir)); +void Create_Root PROTO((const char *dir, const char *rootdir)); +void root_allow_add PROTO ((char *)); +void root_allow_free PROTO ((void)); +int root_allow_ok PROTO ((char *)); |