Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | /* option.c */ |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 2 | void set_init_1 __ARGS((void)); |
| 3 | void set_string_default __ARGS((char *name, char_u *val)); |
| 4 | void set_number_default __ARGS((char *name, long val)); |
| 5 | void free_all_options __ARGS((void)); |
| 6 | void set_init_2 __ARGS((void)); |
| 7 | void set_init_3 __ARGS((void)); |
| 8 | void set_helplang_default __ARGS((char_u *lang)); |
| 9 | void init_gui_options __ARGS((void)); |
| 10 | void set_title_defaults __ARGS((void)); |
| 11 | int do_set __ARGS((char_u *arg, int opt_flags)); |
| 12 | void set_options_bin __ARGS((int oldval, int newval, int opt_flags)); |
| 13 | int get_viminfo_parameter __ARGS((int type)); |
| 14 | char_u *find_viminfo_parameter __ARGS((int type)); |
| 15 | void check_options __ARGS((void)); |
| 16 | void check_buf_options __ARGS((buf_T *buf)); |
| 17 | void free_string_option __ARGS((char_u *p)); |
| 18 | void clear_string_option __ARGS((char_u **pp)); |
| 19 | void set_term_option_alloced __ARGS((char_u **p)); |
| 20 | int was_set_insecurely __ARGS((char_u *opt, int opt_flags)); |
| 21 | void set_string_option_direct __ARGS((char_u *name, int opt_idx, char_u *val, int opt_flags, int set_sid)); |
Bram Moolenaar | 1a38442 | 2010-07-14 19:53:30 +0200 | [diff] [blame] | 22 | char_u *check_colorcolumn __ARGS((win_T *wp)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 23 | char_u *check_stl_option __ARGS((char_u *s)); |
| 24 | int get_option_value __ARGS((char_u *name, long *numval, char_u **stringval, int opt_flags)); |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 25 | int get_option_value_strict __ARGS((char_u *name, long *numval, char_u **stringval, int opt_type, void *from)); |
Bram Moolenaar | 1028f4d | 2014-01-14 16:55:00 +0100 | [diff] [blame] | 26 | char_u *option_iter_next __ARGS((void **option, int opt_type)); |
Bram Moolenaar | c96ebe7 | 2013-05-21 22:38:18 +0200 | [diff] [blame] | 27 | char_u *set_option_value __ARGS((char_u *name, long number, char_u *string, int opt_flags)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 28 | char_u *get_term_code __ARGS((char_u *tname)); |
| 29 | char_u *get_highlight_default __ARGS((void)); |
| 30 | char_u *get_encoding_default __ARGS((void)); |
| 31 | int makeset __ARGS((FILE *fd, int opt_flags, int local_only)); |
| 32 | int makefoldset __ARGS((FILE *fd)); |
| 33 | void clear_termoptions __ARGS((void)); |
| 34 | void free_termoptions __ARGS((void)); |
Bram Moolenaar | 363cb67 | 2009-07-22 12:28:17 +0000 | [diff] [blame] | 35 | void free_one_termoption __ARGS((char_u *var)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 36 | void set_term_defaults __ARGS((void)); |
| 37 | void comp_col __ARGS((void)); |
Bram Moolenaar | 84e0f6c | 2013-05-06 03:52:55 +0200 | [diff] [blame] | 38 | void unset_global_local_option __ARGS((char_u *name, void *from)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 39 | char_u *get_equalprg __ARGS((void)); |
| 40 | void win_copy_options __ARGS((win_T *wp_from, win_T *wp_to)); |
| 41 | void copy_winopt __ARGS((winopt_T *from, winopt_T *to)); |
| 42 | void check_win_options __ARGS((win_T *win)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 43 | void clear_winopt __ARGS((winopt_T *wop)); |
| 44 | void buf_copy_options __ARGS((buf_T *buf, int flags)); |
| 45 | void reset_modifiable __ARGS((void)); |
| 46 | void set_iminsert_global __ARGS((void)); |
| 47 | void set_imsearch_global __ARGS((void)); |
| 48 | void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags)); |
| 49 | int ExpandSettings __ARGS((expand_T *xp, regmatch_T *regmatch, int *num_file, char_u ***file)); |
| 50 | int ExpandOldSetting __ARGS((int *num_file, char_u ***file)); |
Bram Moolenaar | 28e8d27 | 2009-02-21 19:28:48 +0000 | [diff] [blame] | 51 | int langmap_adjust_mb __ARGS((int c)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 52 | int has_format_option __ARGS((int x)); |
| 53 | int shortmess __ARGS((int x)); |
| 54 | void vimrc_found __ARGS((char_u *fname, char_u *envname)); |
| 55 | void change_compatible __ARGS((int on)); |
| 56 | int option_was_set __ARGS((char_u *name)); |
Bram Moolenaar | 15d55de | 2012-12-05 14:43:02 +0100 | [diff] [blame] | 57 | void reset_option_was_set __ARGS((char_u *name)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 58 | int can_bs __ARGS((int what)); |
| 59 | void save_file_ff __ARGS((buf_T *buf)); |
Bram Moolenaar | 164c60f | 2011-01-22 00:11:50 +0100 | [diff] [blame] | 60 | int file_ff_differs __ARGS((buf_T *buf, int ignore_empty)); |
Bram Moolenaar | 9964e46 | 2007-05-05 17:54:07 +0000 | [diff] [blame] | 61 | int check_ff_value __ARGS((char_u *p)); |
Bram Moolenaar | 6bcbcc5 | 2013-11-05 07:13:41 +0100 | [diff] [blame] | 62 | long get_sw_value __ARGS((buf_T *buf)); |
Bram Moolenaar | 9f340fa | 2012-10-21 00:10:39 +0200 | [diff] [blame] | 63 | long get_sts_value __ARGS((void)); |
Bram Moolenaar | 8c7694a | 2013-01-17 17:02:05 +0100 | [diff] [blame] | 64 | void find_mps_values __ARGS((int *initc, int *findc, int *backwards, int switchit)); |
Bram Moolenaar | b8ee25a | 2014-09-23 15:45:08 +0200 | [diff] [blame] | 65 | unsigned int get_bkc_value __ARGS((buf_T *buf)); |
Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 66 | /* vim: set ft=c : */ |