* clear out some warnings by gcc 9.3.1.
[alpine.git] / web / src / alpined.d / status.c
blob3c546d6fbe3564765a30fcaa4ae2e9a4ce50d7dc
1 #if !defined(lint) && !defined(DOS)
2 static char rcsid[] = "$Id: status.c 1142 2008-08-13 17:22:21Z hubert@u.washington.edu $";
3 #endif
5 /* ========================================================================
6 * Copyright 2006-2007 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 /*======================================================================
18 status.c
19 Functions that manage the status line (third from the bottom)
20 - put messages on the queue to be displayed
21 - display messages on the queue with timers
22 - check queue to figure out next timeout
23 - prompt for yes/no type of questions
24 ====*/
26 #include <system.h>
27 #include <general.h>
29 #include "../../../pith/status.h"
30 #include "../../../pith/helptext.h"
31 #include "../../../pith/debug.h"
32 #include "../../../pith/string.h"
34 #include "alpined.h"
39 /*----------------------------------------------------------------------
40 Put a message for the status line on the queue
41 ----------*/
42 void
43 q_status_message(int flags, int min_time, int max_time, char *message)
45 if(!(flags & SM_INFO))
46 sml_addmsg(0, message);
50 /*----------------------------------------------------------------------
51 Time remaining for current message's minimum display
52 ----*/
53 int
54 status_message_remaining(void)
56 return(0);
61 /*----------------------------------------------------------------------
62 Update status line, clearing or displaying a message
63 ----------------------------------------------------------------------*/
64 int
65 display_message(UCS command)
67 return(0);
72 /*----------------------------------------------------------------------
73 Display all the messages on the queue as quickly as possible
74 ----*/
75 void
76 flush_status_messages(int skip_last_pause)