Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
lkc.h File Reference
#include "expr.h"
#include <libintl.h>
#include "lkc_proto.h"

Go to the source code of this file.

Data Structures

struct  kconf_id
 
struct  conf_printer
 
struct  gstr
 

Macros

#define P(name, type, arg)   extern type name arg
 
#define SRCTREE   "srctree"
 
#define PACKAGE   "linux"
 
#define LOCALEDIR   "/usr/share/locale"
 
#define _(text)   gettext(text)
 
#define N_(text)   (text)
 
#define CONFIG_   "CONFIG_"
 
#define TF_COMMAND   0x0001
 
#define TF_PARAM   0x0002
 
#define TF_OPTION   0x0004
 
#define T_OPT_MODULES   1
 
#define T_OPT_DEFCONFIG_LIST   2
 
#define T_OPT_ENV   3
 

Enumerations

enum  conf_def_mode {
  def_default, def_yes, def_mod, def_no,
  def_random
}
 

Functions

int zconfparse (void)
 
void zconfdump (FILE *out)
 
void zconf_starthelp (void)
 
FILE * zconf_fopen (const char *name)
 
void zconf_initscan (const char *name)
 
void zconf_nextfile (const char *name)
 
int zconf_lineno (void)
 
const charzconf_curname (void)
 
const charconf_get_configname (void)
 
const charconf_get_autoconfig_name (void)
 
charconf_get_default_confname (void)
 
void sym_set_change_count (int count)
 
void sym_add_change_count (int count)
 
void conf_set_all_new_symbols (enum conf_def_mode mode)
 
void _menu_init (void)
 
void menu_warn (struct menu *menu, const char *fmt,...)
 
struct menumenu_add_menu (void)
 
void menu_end_menu (void)
 
void menu_add_entry (struct symbol *sym)
 
void menu_end_entry (void)
 
void menu_add_dep (struct expr *dep)
 
void menu_add_visibility (struct expr *dep)
 
struct propertymenu_add_prop (enum prop_type type, char *prompt, struct expr *expr, struct expr *dep)
 
struct propertymenu_add_prompt (enum prop_type type, char *prompt, struct expr *dep)
 
void menu_add_expr (enum prop_type type, struct expr *expr, struct expr *dep)
 
void menu_add_symbol (enum prop_type type, struct symbol *sym, struct expr *dep)
 
void menu_add_option (int token, char *arg)
 
void menu_finalize (struct menu *parent)
 
void menu_set_type (int type)
 
struct filefile_lookup (const char *name)
 
int file_write_dep (const char *name)
 
struct gstr str_new (void)
 
struct gstr str_assign (const char *s)
 
void str_free (struct gstr *gs)
 
void str_append (struct gstr *gs, const char *s)
 
void str_printf (struct gstr *gs, const char *fmt,...)
 
const charstr_get (struct gstr *gs)
 
void sym_init (void)
 
void sym_clear_all_valid (void)
 
void sym_set_all_changed (void)
 
void sym_set_changed (struct symbol *sym)
 
struct symbolsym_choice_default (struct symbol *sym)
 
const charsym_get_string_default (struct symbol *sym)
 
struct symbolsym_check_deps (struct symbol *sym)
 
struct propertyprop_alloc (enum prop_type type, struct symbol *sym)
 
struct symbolprop_get_symbol (struct property *prop)
 
struct propertysym_get_env_prop (struct symbol *sym)
 

Variables

int zconfdebug
 
struct exprsym_env_list
 

Macro Definition Documentation

#define _ (   text)    gettext(text)

Definition at line 36 of file lkc.h.

#define CONFIG_   "CONFIG_"

Definition at line 40 of file lkc.h.

#define LOCALEDIR   "/usr/share/locale"

Definition at line 34 of file lkc.h.

#define N_ (   text)    (text)

Definition at line 37 of file lkc.h.

#define P (   name,
  type,
  arg 
)    extern type name arg

Definition at line 24 of file lkc.h.

#define PACKAGE   "linux"

Definition at line 31 of file lkc.h.

#define SRCTREE   "srctree"

Definition at line 28 of file lkc.h.

#define T_OPT_DEFCONFIG_LIST   2

Definition at line 56 of file lkc.h.

#define T_OPT_ENV   3

Definition at line 57 of file lkc.h.

#define T_OPT_MODULES   1

Definition at line 55 of file lkc.h.

#define TF_COMMAND   0x0001

Definition at line 43 of file lkc.h.

#define TF_OPTION   0x0004

Definition at line 45 of file lkc.h.

#define TF_PARAM   0x0002

Definition at line 44 of file lkc.h.

Enumeration Type Documentation

Enumerator:
def_default 
def_yes 
def_mod 
def_no 
def_random 

Definition at line 47 of file lkc.h.

Function Documentation

void _menu_init ( void  )

Definition at line 41 of file menu.c.

const char* conf_get_autoconfig_name ( void  )

Definition at line 71 of file confdata.c.

const char* conf_get_configname ( void  )

Definition at line 64 of file confdata.c.

char* conf_get_default_confname ( void  )

Definition at line 104 of file confdata.c.

void conf_set_all_new_symbols ( enum conf_def_mode  mode)

Definition at line 1106 of file confdata.c.

struct file* file_lookup ( const char name)
read

Definition at line 14 of file util.c.

int file_write_dep ( const char name)

Definition at line 35 of file util.c.

void menu_add_dep ( struct expr dep)

Definition at line 107 of file menu.c.

void menu_add_entry ( struct symbol sym)

Definition at line 47 of file menu.c.

void menu_add_expr ( enum prop_type  type,
struct expr expr,
struct expr dep 
)

Definition at line 175 of file menu.c.

struct menu* menu_add_menu ( void  )
read

Definition at line 69 of file menu.c.

void menu_add_option ( int  token,
char arg 
)

Definition at line 185 of file menu.c.

struct property* menu_add_prompt ( enum prop_type  type,
char prompt,
struct expr dep 
)
read

Definition at line 164 of file menu.c.

struct property* menu_add_prop ( enum prop_type  type,
char prompt,
struct expr expr,
struct expr dep 
)
read

Definition at line 127 of file menu.c.

void menu_add_symbol ( enum prop_type  type,
struct symbol sym,
struct expr dep 
)

Definition at line 180 of file menu.c.

void menu_add_visibility ( struct expr dep)

Definition at line 169 of file menu.c.

void menu_end_entry ( void  )

Definition at line 65 of file menu.c.

void menu_end_menu ( void  )

Definition at line 76 of file menu.c.

void menu_finalize ( struct menu parent)

Definition at line 262 of file menu.c.

void menu_set_type ( int  type)

Definition at line 112 of file menu.c.

void menu_warn ( struct menu menu,
const char fmt,
  ... 
)

Definition at line 21 of file menu.c.

struct property* prop_alloc ( enum prop_type  type,
struct symbol sym 
)
read

Definition at line 1226 of file symbol.c.

struct symbol* prop_get_symbol ( struct property prop)
read

Definition at line 1248 of file symbol.c.

void str_append ( struct gstr gs,
const char s 
)

Definition at line 111 of file util.c.

struct gstr str_assign ( const char s)
read

Definition at line 92 of file util.c.

void str_free ( struct gstr gs)

Definition at line 102 of file util.c.

const char* str_get ( struct gstr gs)

Definition at line 136 of file util.c.

struct gstr str_new ( void  )
read

Definition at line 81 of file util.c.

void str_printf ( struct gstr gs,
const char fmt,
  ... 
)

Definition at line 125 of file util.c.

void sym_add_change_count ( int  count)

Definition at line 1028 of file confdata.c.

struct symbol* sym_check_deps ( struct symbol sym)
read

Definition at line 1192 of file symbol.c.

struct symbol* sym_choice_default ( struct symbol sym)
read

Definition at line 234 of file symbol.c.

void sym_clear_all_valid ( void  )

Definition at line 430 of file symbol.c.

struct property* sym_get_env_prop ( struct symbol sym)
read

Definition at line 106 of file symbol.c.

const char* sym_get_string_default ( struct symbol sym)

Definition at line 681 of file symbol.c.

void sym_init ( void  )

Definition at line 45 of file symbol.c.

void sym_set_all_changed ( void  )

Definition at line 453 of file symbol.c.

void sym_set_change_count ( int  count)

Definition at line 1019 of file confdata.c.

void sym_set_changed ( struct symbol sym)

Definition at line 442 of file symbol.c.

const char* zconf_curname ( void  )
FILE* zconf_fopen ( const char name)
void zconf_initscan ( const char name)
int zconf_lineno ( void  )
void zconf_nextfile ( const char name)
void zconf_starthelp ( void  )
void zconfdump ( FILE *  out)
int zconfparse ( void  )

Variable Documentation

struct expr* sym_env_list

Definition at line 36 of file symbol.c.

int zconfdebug