summaryrefslogtreecommitdiff
path: root/gnu/libexec/uucp/libuucp/status.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /gnu/libexec/uucp/libuucp/status.c
initial import of NetBSD tree
Diffstat (limited to 'gnu/libexec/uucp/libuucp/status.c')
-rw-r--r--gnu/libexec/uucp/libuucp/status.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/libexec/uucp/libuucp/status.c b/gnu/libexec/uucp/libuucp/status.c
new file mode 100644
index 00000000000..65e854ebdca
--- /dev/null
+++ b/gnu/libexec/uucp/libuucp/status.c
@@ -0,0 +1,38 @@
+/* status.c
+ Strings for status codes. */
+
+#include "uucp.h"
+
+#include "uudefs.h"
+
+/* Status strings. These must match enum tstatus_type. */
+
+#if USE_TRADITIONAL_STATUS
+
+const char *azStatus[] =
+{
+ "SUCCESSFUL",
+ "DEVICE FAILED",
+ "DIAL FAILED",
+ "LOGIN FAILED",
+ "STARTUP FAILED",
+ "CONVERSATION FAILED",
+ "TALKING",
+ "WRONG TIME TO CALL"
+};
+
+#else
+
+const char *azStatus[] =
+{
+ "Conversation complete",
+ "Port unavailable",
+ "Dial failed",
+ "Login failed",
+ "Handshake failed",
+ "Call failed",
+ "Talking",
+ "Wrong time to call"
+};
+
+#endif