summaryrefslogtreecommitdiff
path: root/web/src/alpined.d/status.c
diff options
context:
space:
mode:
authorEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
committerEduardo Chappa <echappa@gmx.com>2013-02-03 00:59:38 -0700
commit094ca96844842928810f14844413109fc6cdd890 (patch)
treee60efbb980f38ba9308ccb4fb2b77b87bbc115f3 /web/src/alpined.d/status.c
downloadalpine-094ca96844842928810f14844413109fc6cdd890.tar.xz
Initial Alpine Version
Diffstat (limited to 'web/src/alpined.d/status.c')
-rw-r--r--web/src/alpined.d/status.c78
1 files changed, 78 insertions, 0 deletions
diff --git a/web/src/alpined.d/status.c b/web/src/alpined.d/status.c
new file mode 100644
index 00000000..3c546d6f
--- /dev/null
+++ b/web/src/alpined.d/status.c
@@ -0,0 +1,78 @@
+#if !defined(lint) && !defined(DOS)
+static char rcsid[] = "$Id: status.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
+#endif
+
+/* ========================================================================
+ * Copyright 2006-2007 University of Washington
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * ========================================================================
+ */
+
+/*======================================================================
+ status.c
+ Functions that manage the status line (third from the bottom)
+ - put messages on the queue to be displayed
+ - display messages on the queue with timers
+ - check queue to figure out next timeout
+ - prompt for yes/no type of questions
+ ====*/
+
+#include <system.h>
+#include <general.h>
+
+#include "../../../pith/status.h"
+#include "../../../pith/helptext.h"
+#include "../../../pith/debug.h"
+#include "../../../pith/string.h"
+
+#include "alpined.h"
+
+
+
+
+/*----------------------------------------------------------------------
+ Put a message for the status line on the queue
+ ----------*/
+void
+q_status_message(int flags, int min_time, int max_time, char *message)
+{
+ if(!(flags & SM_INFO))
+ sml_addmsg(0, message);
+}
+
+
+/*----------------------------------------------------------------------
+ Time remaining for current message's minimum display
+ ----*/
+int
+status_message_remaining(void)
+{
+ return(0);
+}
+
+
+
+/*----------------------------------------------------------------------
+ Update status line, clearing or displaying a message
+----------------------------------------------------------------------*/
+int
+display_message(UCS command)
+{
+ return(0);
+}
+
+
+
+/*----------------------------------------------------------------------
+ Display all the messages on the queue as quickly as possible
+ ----*/
+void
+flush_status_messages(int skip_last_pause)
+{
+}