1/* 2 * vars.h: header for vars.c 3 * 4 * Generated from vars.h.proto automatically by the Makefile 5 * 6 * Copyright (c) 1990 Michael Sandrof. 7 * Copyright (c) 1991, 1992 Troy Rollo. 8 * Copyright (c) 1992-2000 Matthew R. Green. 9 * All rights reserved. 10 * 11 * Redistribution and use in source and binary forms, with or without 12 * modification, are permitted provided that the following conditions 13 * are met: 14 * 1. Redistributions of source code must retain the above copyright 15 * notice, this list of conditions and the following disclaimer. 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 18 * documentation and/or other materials provided with the distribution. 19 * 3. The name of the author may not be used to endorse or promote products 20 * derived from this software without specific prior written permission. 21 * 22 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS OR 23 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY DIRECT, INDIRECT, 26 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 29 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 */ 34 35/* 36 * @(#)$Id: vars.h.proto,v 1.37 2000/08/04 07:40:23 mrg Exp $ 37 */ 38 39#ifndef __vars_h_ 40#define __vars_h_ 41 42 int do_boolean _((u_char *, int *)); 43 void set_variable _((u_char *, u_char *, u_char *)); 44 int get_int_var _((int)); 45 u_char *get_string_var _((int)); 46 void set_int_var _((int, unsigned int)); 47 void set_string_var _((int, u_char *)); 48 void init_variables _((void)); 49 u_char *make_string_var _((u_char *)); 50 void set_highlight_char _((u_char *)); 51 int charset_size _((void)); 52 int save_variables _((FILE *, int)); 53 void set_var_value _((int, u_char *)); 54 55extern char *var_settings[]; 56extern int loading_global; 57 58/* var_settings indexes ... also used in display.c for highlights */ 59#define OFF 0 60#define ON 1 61#define TOGGLE 2 62 63#define DEBUG_COMMANDS 0x0001 64#define DEBUG_EXPANSIONS 0x0002 65#define DEBUG_FUNCTIONS 0x0004 66 67/* indexes for the irc_variable array */ 68#define ALWAYS_SPLIT_BIGGEST_VAR $ 69#define ANSI_COLOR_VAR $ 70#define ANTI_IDLE_VAR $ 71#define AUTO_RECONNECT_VAR $ 72#define AUTO_REJOIN_VAR $ 73#define AUTO_UNMARK_AWAY_VAR $ 74#define AUTO_WHOIS_NICK_IN_USE_VAR $ 75#define AUTO_WHOWAS_VAR $ 76#define BACKGROUND_COLOUR_VAR $ 77#define BACKGROUND_COLOR_VAR BACKGROUND_COLOUR_VAR 78#define BEEP_VAR $ 79#define BEEP_MAX_VAR $ 80#define BEEP_ON_MSG_VAR $ 81#define BEEP_WHEN_AWAY_VAR $ 82#define BOLD_VIDEO_VAR $ 83#define CHANNEL_NAME_WIDTH_VAR $ 84#define CLIENTINFO_VAR $ 85#define CLOAK_VAR $ 86#define CLOCK_VAR $ 87#define CLOCK_24HOUR_VAR $ 88#define CLOCK_ALARM_VAR $ 89#define CMDCHARS_VAR $ 90#define COMMAND_MODE_VAR $ 91#define CONTINUED_LINE_VAR $ 92#define CTCP_REPLY_BACKLOG_SECONDS_VAR $ 93#define CTCP_REPLY_FLOOD_SIZE_VAR $ 94#define CTCP_REPLY_IGNORE_SECONDS_VAR $ 95#define DCC_AUTOGET_VAR $ 96#define DCC_BLOCK_SIZE_VAR $ 97#define DCC_IDLE_LIMIT_VAR $ 98#define DEBUG_VAR $ 99#define DEFAULT_AWAY_MSG_VAR $ 100#define DEFAULT_BACK_MSG_VAR $ 101#define DISPLAY_VAR $ 102#define DOUBLE_CHECK_ADDRESSES_VAR $ 103#define EIGHT_BIT_CHARACTERS_VAR $ 104#define EMAIL_ADDRESS_VAR $ 105#define ENCRYPT_PROGRAM_VAR $ 106#define EXEC_PROTECTION_VAR $ 107#define EXTENDED_CACHE_VAR $ 108#define FLOOD_AFTER_VAR $ 109#define FLOOD_IGNORE_TIME_VAR $ 110#define FLOOD_PROTECTION_VAR $ 111#define FLOOD_RATE_VAR $ 112#define FLOOD_USERS_VAR $ 113#define FLOOD_WARNING_VAR $ 114#define FOREGROUND_COLOUR_VAR $ 115#define FOREGROUND_COLOR_VAR FOREGROUND_COLOUR_VAR 116#define FULL_STATUS_LINE_VAR $ 117#define HACKED_IDENTD_VAR $ 118#define HELP_PAGER_VAR $ 119#define HELP_PATH_VAR $ 120#define HELP_PROMPT_VAR $ 121#define HELP_WINDOW_VAR $ 122#define HIDE_CHANNEL_KEYS_VAR $ 123#define HIDE_PRIVATE_CHANNELS_VAR $ 124#define HIGHLIGHT_CHAR_VAR $ 125#define HISTORY_VAR $ 126#define HISTORY_FILE_VAR $ 127#define HOLD_MODE_VAR $ 128#define HOLD_MODE_MAX_VAR $ 129#define IDLE_LIMIT_VAR $ 130#define INDENT_VAR $ 131#define INPUT_ALIASES_VAR $ 132#define INPUT_PROMPT_VAR $ 133#define INPUT_PROTECTION_VAR $ 134#define INSERT_MODE_VAR $ 135#define INVERSE_VIDEO_VAR $ 136#define IRCHOST_VAR $ 137#define ISO2022_SUPPORT_VAR $ 138#define LAG_LIMIT_VAR $ 139#define LASTLOG_VAR $ 140#define LASTLOG_LEVEL_VAR $ 141#define LEADER_VAR $ 142#define LOAD_PATH_VAR $ 143#define LOG_VAR $ 144#define LOGFILE_VAR $ 145#define MAIL_VAR $ 146#define MAKE_NOTICE_MSG_VAR $ 147#define MAX_RECURSIONS_VAR $ 148#define MENU_VAR $ 149#define MINIMUM_SERVERS_VAR $ 150#define MINIMUM_USERS_VAR $ 151#define MIRC_COLOR_VAR $ 152#define NDCC_INTERVAL_VAR $ 153#define NDCC_OFFERING_VAR $ 154#define NDCC_PUBLIC_VAR $ 155#define NDCC_SECURE_VAR $ 156#define NO_ASK_NICKNAME_VAR $ 157#define NO_CTCP_FLOOD_VAR $ 158#define NOTIFY_HANDLER_VAR $ 159#define NOTIFY_LEVEL_VAR $ 160#define NOTIFY_ON_TERMINATION_VAR $ 161#define NOVICE_VAR $ 162#define OLD_ENCRYPT_PROGRAM_VAR $ 163#define REALNAME_VAR $ 164#define RESOLVE_VAR $ 165#define SAME_WINDOW_ONLY_VAR $ 166#define SCREEN_OPTIONS_VAR $ 167#define SCROLL_VAR $ 168#define SCROLL_LINES_VAR $ 169#define SEND_IGNORE_MSG_VAR $ 170#define SHELL_VAR $ 171#define SHELL_FLAGS_VAR $ 172#define SHELL_LIMIT_VAR $ 173#define SHOW_AWAY_ONCE_VAR $ 174#define SHOW_CHANNEL_NAMES_VAR $ 175#define SHOW_END_OF_MSGS_VAR $ 176#define SHOW_NUMERICS_VAR $ 177#define SHOW_STARS_VAR $ /* not supported, set -leader if you dont want anything */ 178#define SHOW_STATUS_ALL_VAR $ 179#define SHOW_WHO_HOPCOUNT_VAR $ 180#define SILENT_AWAY_VAR $ 181#define SOCKS_PROXY_VAR $ 182#define SOCKS_USERNAME_VAR $ 183#define SOCKS_PASSWORD_VAR $ 184#define STAR_PREFIX_VAR $ /* this is ircII's LEADER variable.. */ 185#define STATUS_AWAY_VAR $ 186#define STATUS_CHANNEL_VAR $ 187#define STATUS_CHANOP_VAR $ 188#define STATUS_CLOCK_VAR $ 189#define STATUS_FORMAT_VAR $ 190#define STATUS_FORMAT1_VAR $ 191#define STATUS_FORMAT2_VAR $ 192#define STATUS_GROUP_VAR $ 193#define STATUS_HOLD_VAR $ 194#define STATUS_HOLD_LINES_VAR $ 195#define STATUS_INSERT_VAR $ 196#define STATUS_LAG_VAR $ 197#define STATUS_MAIL_VAR $ 198#define STATUS_MODE_VAR $ 199#define STATUS_NOTIFY_VAR $ 200#define STATUS_OPER_VAR $ 201#define STATUS_OVERWRITE_VAR $ 202#define STATUS_QUERY_VAR $ 203#define STATUS_SERVER_VAR $ 204#define STATUS_UMODE_VAR $ 205#define STATUS_USER_VAR $ 206#define STATUS_USER1_VAR $ 207#define STATUS_USER2_VAR $ 208#define STATUS_USER3_VAR $ 209#define STATUS_USERS_VAR $ 210#define STATUS_VOICE_VAR $ 211#define STATUS_WINDOW_VAR $ 212#define STRIP_LOG_ANSI_VAR $ 213#define STRIP_REDIRECT_ANSI_VAR $ 214#define SUPPRESS_SERVER_MOTD_VAR $ 215#define TAB_VAR $ 216#define TAB_MAX_VAR $ 217#define TRANSLATION_VAR $ 218#define UNDERLINE_VIDEO_VAR $ 219#define USE_OLD_MSG_VAR $ 220#define USER_INFO_VAR $ 221#define USER_WALLOPS_VAR $ 222#define VERBOSE_CTCP_VAR $ 223#define WARN_OF_IGNORES_VAR $ 224#define XTERM_GEOMOPTSTR_VAR $ 225#define XTERM_OPTIONS_VAR $ 226#define XTERM_PATH_VAR $ 227#define NUMBER_OF_VARIABLES $ 228 229#endif /* _VARS_H_ */ 230