2 * Copyright (c) 2001, Derek Price and others
3 * Copyright (c) 1992, Brian Berliner and Jeff Polk
4 * Copyright (c) 1989-1992, Brian Berliner
6 * You may distribute under the terms of the GNU General Public License as
7 * specified in the README file that comes with the CVS kit.
10 /* CVSroot data structures */
12 /* Access method specified in CVSroot. */
23 extern const char method_names[][16]; /* change this in root.c if you change
26 typedef struct cvsroot_s {
27 char *original; /* The complete source CVSroot string. */
28 CVSmethod method; /* One of the enum values above. */
29 char *directory; /* The directory name. */
31 char *username; /* The username or NULL if method == local. */
32 char *password; /* The password or NULL if method == local. */
33 char *hostname; /* The hostname or NULL if method == local. */
34 int port; /* The port or zero if method == local. */
35 char *proxy_hostname; /* The hostname of the proxy server, or NULL
36 * when method == local or no proxy will be
39 int proxy_port; /* The port of the proxy or zero, as above. */
40 unsigned char isremote; /* Nonzero if we are doing remote access. */
41 #endif /* CLIENT_SUPPORT */