summaryrefslogtreecommitdiffstats
path: root/client/commands.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-01-19 16:07:00 +0100
committerMartin Mares <mj@ucw.cz>2000-01-19 16:07:00 +0100
commit9fac310d1a4e46f4bcc70177e59cbf93763ef479 (patch)
tree7ad25775400768f05abbd8f004fb0ca80a5f60fe /client/commands.c
parentf50b9e48b93e3f69423a0e6e5fef273ba2022958 (diff)
downloadbird-9fac310d1a4e46f4bcc70177e59cbf93763ef479.tar
bird-9fac310d1a4e46f4bcc70177e59cbf93763ef479.zip
Put client on a stony ground. The whole client is going to be system-specific
(the current version UNIX-specific) anyway, so it's useless to try splitting it to sysdep and generic part. Instead of this, configure script decides (based on system type and user's wish) what (if any) client should be built and what autoconfiguration it requires. Also, the client provides its own die/bug/... functions.
Diffstat (limited to 'client/commands.c')
-rw-r--r--client/commands.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/client/commands.c b/client/commands.c
new file mode 100644
index 0000000..ea9358d
--- /dev/null
+++ b/client/commands.c
@@ -0,0 +1,20 @@
+/*
+ * BIRD Client -- Command Handling
+ *
+ * (c) 1999--2000 Martin Mares <mj@ucw.cz>
+ *
+ * Can be freely distributed and used under the terms of the GNU GPL.
+ */
+
+#include "nest/bird.h"
+#include "client/client.h"
+
+struct cmd_info {
+ char *command;
+ char *args;
+ char *help;
+};
+
+struct cmd_info command_table[] = {
+#include "conf/commands.h"
+};