1 /* 2 * Copyright (c) 1995-2009, 2015, 2018 Paul Mattes. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * * Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * * Redistributions in binary form must reproduce the above copyright 11 * notice, this list of conditions and the following disclaimer in the 12 * documentation and/or other materials provided with the distribution. 13 * * Neither the name of Paul Mattes nor his contributors may be used 14 * to endorse or promote products derived from this software without 15 * specific prior written permission. 16 * 17 * THIS SOFTWARE IS PROVIDED BY PAUL MATTES "AS IS" AND ANY EXPRESS 18 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 * DISCLAIMED. IN NO EVENT SHALL PAUL MATTES BE LIABLE FOR ANY DIRECT, 21 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 23 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 25 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 26 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27 * POSSIBILITY OF SUCH DAMAGE. 28 */ 29 30 /* 31 * status.h 32 * Global declarations for status.c. 33 */ 34 35 void status_compose(bool on, ucs4_t ucs4, enum keytype keytype); 36 void status_ctlr_done(void); 37 void status_cursor_pos(int ca); 38 void status_insert_mode(bool on); 39 void status_keyboard_disable_flash(void); 40 void status_lu(const char *); 41 void status_minus(void); 42 void status_oerr(int error_type); 43 void status_reset(void); 44 void status_reverse_mode(bool on); 45 void status_screentrace(int n); 46 void status_script(bool on); 47 void status_scrolled(int n); 48 void status_syswait(void); 49 void status_timing(struct timeval *t0, struct timeval *t1); 50 void status_twait(void); 51 void status_typeahead(bool on); 52 void status_uncursor_pos(void); 53 void status_untiming(void); 54