blob: 2fe05aa048f7d0fe62d2491233af8042f16ee55e [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* option.c */
Bram Moolenaar9964e462007-05-05 17:54:07 +00002void set_init_1 __ARGS((void));
3void set_string_default __ARGS((char *name, char_u *val));
4void set_number_default __ARGS((char *name, long val));
5void free_all_options __ARGS((void));
6void set_init_2 __ARGS((void));
7void set_init_3 __ARGS((void));
8void set_helplang_default __ARGS((char_u *lang));
9void init_gui_options __ARGS((void));
10void set_title_defaults __ARGS((void));
11int do_set __ARGS((char_u *arg, int opt_flags));
12void set_options_bin __ARGS((int oldval, int newval, int opt_flags));
13int get_viminfo_parameter __ARGS((int type));
14char_u *find_viminfo_parameter __ARGS((int type));
15void check_options __ARGS((void));
16void check_buf_options __ARGS((buf_T *buf));
17void free_string_option __ARGS((char_u *p));
18void clear_string_option __ARGS((char_u **pp));
19void set_term_option_alloced __ARGS((char_u **p));
20int was_set_insecurely __ARGS((char_u *opt, int opt_flags));
21void set_string_option_direct __ARGS((char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid));
Bram Moolenaar1a384422010-07-14 19:53:30 +020022char_u *check_colorcolumn __ARGS((win_T *wp));
Bram Moolenaar9964e462007-05-05 17:54:07 +000023char_u *check_stl_option __ARGS((char_u *s));
24int get_option_value __ARGS((char_u *name, long *numval, char_u **stringval, int opt_flags));
Bram Moolenaar84e0f6c2013-05-06 03:52:55 +020025int get_option_value_strict __ARGS((char_u *name, long *numval, char_u **stringval, int opt_type, void *from));
Bram Moolenaar1028f4d2014-01-14 16:55:00 +010026char_u *option_iter_next __ARGS((void **option, int opt_type));
Bram Moolenaarc96ebe72013-05-21 22:38:18 +020027char_u *set_option_value __ARGS((char_u *name, long number, char_u *string, int opt_flags));
Bram Moolenaar9964e462007-05-05 17:54:07 +000028char_u *get_term_code __ARGS((char_u *tname));
29char_u *get_highlight_default __ARGS((void));
30char_u *get_encoding_default __ARGS((void));
31int makeset __ARGS((FILE *fd, int opt_flags, int local_only));
32int makefoldset __ARGS((FILE *fd));
33void clear_termoptions __ARGS((void));
34void free_termoptions __ARGS((void));
Bram Moolenaar363cb672009-07-22 12:28:17 +000035void free_one_termoption __ARGS((char_u *var));
Bram Moolenaar9964e462007-05-05 17:54:07 +000036void set_term_defaults __ARGS((void));
37void comp_col __ARGS((void));
Bram Moolenaar84e0f6c2013-05-06 03:52:55 +020038void unset_global_local_option __ARGS((char_u *name, void *from));
Bram Moolenaar9964e462007-05-05 17:54:07 +000039char_u *get_equalprg __ARGS((void));
40void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to));
41void copy_winopt __ARGS((winopt_T *from, winopt_T *to));
42void check_win_options __ARGS((win_T *win));
Bram Moolenaar9964e462007-05-05 17:54:07 +000043void clear_winopt __ARGS((winopt_T *wop));
44void buf_copy_options __ARGS((buf_T *buf, int flags));
45void reset_modifiable __ARGS((void));
46void set_iminsert_global __ARGS((void));
47void set_imsearch_global __ARGS((void));
48void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags));
49int ExpandSettings __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file));
50int ExpandOldSetting __ARGS((int *num_file, char_u ***file));
Bram Moolenaar28e8d272009-02-21 19:28:48 +000051int langmap_adjust_mb __ARGS((int c));
Bram Moolenaar9964e462007-05-05 17:54:07 +000052int has_format_option __ARGS((int x));
53int shortmess __ARGS((int x));
54void vimrc_found __ARGS((char_u *fname, char_u *envname));
55void change_compatible __ARGS((int on));
56int option_was_set __ARGS((char_u *name));
Bram Moolenaar15d55de2012-12-05 14:43:02 +010057void reset_option_was_set __ARGS((char_u *name));
Bram Moolenaar9964e462007-05-05 17:54:07 +000058int can_bs __ARGS((int what));
59void save_file_ff __ARGS((buf_T *buf));
Bram Moolenaar164c60f2011-01-22 00:11:50 +010060int file_ff_differs __ARGS((buf_T *buf, int ignore_empty));
Bram Moolenaar9964e462007-05-05 17:54:07 +000061int check_ff_value __ARGS((char_u *p));
Bram Moolenaar6bcbcc52013-11-05 07:13:41 +010062long get_sw_value __ARGS((buf_T *buf));
Bram Moolenaar9f340fa2012-10-21 00:10:39 +020063long get_sts_value __ARGS((void));
Bram Moolenaar8c7694a2013-01-17 17:02:05 +010064void find_mps_values __ARGS((int *initc, int *findc, int *backwards, int switchit));
Bram Moolenaarb8ee25a2014-09-23 15:45:08 +020065unsigned int get_bkc_value __ARGS((buf_T *buf));
Bram Moolenaar071d4272004-06-13 20:20:40 +000066/* vim: set ft=c : */