~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/kconfig/lkc_proto.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef LKC_PROTO_H
  3 #define LKC_PROTO_H
  4 
  5 #include <stdarg.h>
  6 
  7 /* confdata.c */
  8 void conf_parse(const char *name);
  9 int conf_read(const char *name);
 10 int conf_read_simple(const char *name, int);
 11 int conf_write_defconfig(const char *name);
 12 int conf_write(const char *name);
 13 int conf_write_autoconf(int overwrite);
 14 void conf_set_changed(bool val);
 15 bool conf_get_changed(void);
 16 void conf_set_changed_callback(void (*fn)(bool));
 17 void conf_set_message_callback(void (*fn)(const char *s));
 18 bool conf_errors(void);
 19 
 20 /* symbol.c */
 21 struct symbol * sym_lookup(const char *name, int flags);
 22 struct symbol * sym_find(const char *name);
 23 void print_symbol_for_listconfig(struct symbol *sym);
 24 struct symbol ** sym_re_search(const char *pattern);
 25 const char * sym_type_name(enum symbol_type type);
 26 void sym_calc_value(struct symbol *sym);
 27 bool sym_dep_errors(void);
 28 enum symbol_type sym_get_type(const struct symbol *sym);
 29 bool sym_tristate_within_range(const struct symbol *sym, tristate tri);
 30 bool sym_set_tristate_value(struct symbol *sym,tristate tri);
 31 void choice_set_value(struct menu *choice, struct symbol *sym);
 32 tristate sym_toggle_tristate_value(struct symbol *sym);
 33 bool sym_string_valid(struct symbol *sym, const char *newval);
 34 bool sym_string_within_range(struct symbol *sym, const char *str);
 35 bool sym_set_string_value(struct symbol *sym, const char *newval);
 36 bool sym_is_changeable(const struct symbol *sym);
 37 struct menu *sym_get_choice_menu(const struct symbol *sym);
 38 const char * sym_get_string_value(struct symbol *sym);
 39 
 40 const char * prop_get_type_name(enum prop_type type);
 41 
 42 /* expr.c */
 43 void expr_print(const struct expr *e,
 44                 void (*fn)(void *, struct symbol *, const char *),
 45                 void *data, int prevtoken);
 46 
 47 #endif /* LKC_PROTO_H */
 48 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php