summaryrefslogtreecommitdiffstats
path: root/contrib/cvs/src/root.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2004-04-15 01:01:56 +0000
committerpeter <peter@FreeBSD.org>2004-04-15 01:01:56 +0000
commit3aa249bff61808355fd6b864b94fd531fd00b3b7 (patch)
tree48f5bc180abb032c255cbad668a4838647de32f2 /contrib/cvs/src/root.h
parentdfd3c578a82a6f926669c53ec72c55f7aba93228 (diff)
parent6045cae71a438a752980a395f03717a13cc22179 (diff)
downloadFreeBSD-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.h25
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;
OpenPOWER on IntegriCloud