|
Linux Kernel
3.7.1
|
#include <stdio.h>Go to the source code of this file.
Data Structures | |
| struct | string_list |
| struct | symbol |
Macros | |
| #define | YYSTYPE yystype |
| #define | xmalloc(size) |
| #define | xstrdup(str) |
Typedefs | |
| typedef struct string_list ** | yystype |
Enumerations | |
| enum | symbol_type { SYM_NORMAL, SYM_TYPEDEF, SYM_ENUM, SYM_STRUCT, SYM_UNION, SYM_ENUM_CONST, S_UNKNOWN, S_BOOLEAN, S_TRISTATE, S_INT, S_HEX, S_STRING, S_OTHER } |
| enum | symbol_status { STATUS_UNCHANGED, STATUS_DEFINED, STATUS_MODIFIED } |
Functions | |
| struct symbol * | find_symbol (const char *name, enum symbol_type ns, int exact) |
| struct symbol * | add_symbol (const char *name, enum symbol_type type, struct string_list *defn, int is_extern) |
| void | export_symbol (const char *) |
| void | free_node (struct string_list *list) |
| void | free_list (struct string_list *s, struct string_list *e) |
| struct string_list * | copy_node (struct string_list *) |
| struct string_list * | copy_list_range (struct string_list *start, struct string_list *end) |
| int | yylex (void) |
| int | yyparse (void) |
| void | error_with_pos (const char *,...) |
Variables | |
| int | cur_line |
| char * | cur_filename |
| char * | source_file |
| int | in_source_file |
| #define xmalloc | ( | size | ) |
| #define xstrdup | ( | str | ) |
Definition at line 87 of file genksyms.h.
| #define YYSTYPE yystype |
Definition at line 58 of file genksyms.h.
| typedef struct string_list** yystype |
Definition at line 57 of file genksyms.h.
| enum symbol_status |
Definition at line 33 of file genksyms.h.
| enum symbol_type |
| SYM_NORMAL | |
| SYM_TYPEDEF | |
| SYM_ENUM | |
| SYM_STRUCT | |
| SYM_UNION | |
| SYM_ENUM_CONST | |
| S_UNKNOWN | |
| S_BOOLEAN | |
| S_TRISTATE | |
| S_INT | |
| S_HEX | |
| S_STRING | |
| S_OTHER |
Definition at line 28 of file genksyms.h.
|
read |
Definition at line 322 of file genksyms.c.
|
read |
Definition at line 391 of file genksyms.c.
|
read |
Definition at line 380 of file genksyms.c.
Definition at line 714 of file genksyms.c.
Definition at line 645 of file genksyms.c.
Definition at line 167 of file genksyms.c.
| void free_list | ( | struct string_list * | s, |
| struct string_list * | e | ||
| ) |
Definition at line 342 of file genksyms.c.
| void free_node | ( | struct string_list * | list | ) |
Definition at line 336 of file genksyms.c.
| char* cur_filename |
Definition at line 43 of file genksyms.c.
| int cur_line |
Definition at line 42 of file genksyms.c.
| int in_source_file |
Definition at line 44 of file genksyms.c.
| char * source_file |
Definition at line 43 of file genksyms.c.
1.8.2