diff options
author | peter <peter@FreeBSD.org> | 2004-04-15 01:01:56 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-04-15 01:01:56 +0000 |
commit | 3aa249bff61808355fd6b864b94fd531fd00b3b7 (patch) | |
tree | 48f5bc180abb032c255cbad668a4838647de32f2 /contrib/cvs/src/root.h | |
parent | dfd3c578a82a6f926669c53ec72c55f7aba93228 (diff) | |
parent | 6045cae71a438a752980a395f03717a13cc22179 (diff) | |
download | FreeBSD-src-3aa249bff61808355fd6b864b94fd531fd00b3b7.zip FreeBSD-src-3aa249bff61808355fd6b864b94fd531fd00b3b7.tar.gz |
This commit was generated by cvs2svn to compensate for changes in r128266,
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 | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/contrib/cvs/src/root.h b/contrib/cvs/src/root.h index afe79b6..b812eef 100644 --- a/contrib/cvs/src/root.h +++ b/contrib/cvs/src/root.h @@ -20,18 +20,23 @@ typedef enum { ext_method, fork_method } CVSmethod; -extern char *method_names[]; /* change this in root.c if you change - the enum above */ +extern const char method_names[][16]; /* change this in root.c if you change + the enum above */ typedef struct cvsroot_s { - char *original; /* the complete source CVSroot string */ - CVSmethod method; /* one of the enum values above */ - char *username; /* the username or NULL if method == local */ - char *password; /* the username or NULL if method == local */ - char *hostname; /* the hostname or NULL if method == local */ - int port; /* the port or zero if method == local */ - char *directory; /* the directory name */ + char *original; /* The complete source CVSroot string. */ + CVSmethod method; /* One of the enum values above. */ + char *directory; /* The directory name. */ #ifdef CLIENT_SUPPORT - unsigned char isremote; /* nonzero if we are doing remote access */ + char *username; /* The username or NULL if method == local. */ + char *password; /* The password or NULL if method == local. */ + char *hostname; /* The hostname or NULL if method == local. */ + int port; /* The port or zero if method == local. */ + char *proxy_hostname; /* The hostname of the proxy server, or NULL + * when method == local or no proxy will be + * 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; |