summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/server.c
diff options
context:
space:
mode:
authorJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-05-24 04:12:26 +0000
committerJean-Francois Brousseau <jfb@cvs.openbsd.org>2005-05-24 04:12:26 +0000
commite87333a6ae634b7bf229d48ef588b1d14f02dfd9 (patch)
tree396538c572f6c7daddebc26b58e9a8d17572caef /usr.bin/cvs/server.c
parent686088575a6a7d8fbc8bd29e3bd4b823134d7c22 (diff)
Merge the cvs_cmd and cvs_cmd_info structures and add the necessary
fields to hook local versions of the commands. This needs to go in before it gets any bigger ok joris
Diffstat (limited to 'usr.bin/cvs/server.c')
-rw-r--r--usr.bin/cvs/server.c19
1 files changed, 14 insertions, 5 deletions
diff --git a/usr.bin/cvs/server.c b/usr.bin/cvs/server.c
index 1ac0de6f16e..7b38cbbbbf1 100644
--- a/usr.bin/cvs/server.c
+++ b/usr.bin/cvs/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.16 2005/05/20 20:00:53 joris Exp $ */
+/* $OpenBSD: server.c,v 1.17 2005/05/24 04:12:25 jfb Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -43,10 +43,19 @@
char **cvs_args;
u_int cvs_nbarg = 0;
u_int cvs_utf8ok = 0;
-u_int cvs_case = 0;
-
-struct cvs_cmd_info cmd_server = {
- NULL, NULL, NULL, NULL, NULL, 0, 0, 0 };
+u_int cvs_case = 0;
+
+struct cvs_cmd cvs_cmd_server = {
+ CVS_OP_SERVER, 0, "server",
+ { },
+ "Server mode",
+ "",
+ "",
+ NULL,
+ 0,
+ NULL, NULL, NULL, NULL, NULL, NULL,
+ 0
+};
char cvs_server_tmpdir[MAXPATHLEN];