Linux Kernel
3.7.1
|
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
#include <err.h>
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | ops |
struct | ops::op |
Macros | |
#define | MAXDEPTH 64 /* maximum #if nesting */ |
#define | MAXLINE 4096 /* maximum length of line */ |
#define | MAXSYMS 4096 /* maximum number of symbols */ |
#define | EDITSLOP 10 |
#define | TEMPLATE "unifdef.XXXXXX" |
#define | endsym(c) (!isalnum((unsigned char)c) && c != '_') |
Typedefs | |
typedef void | state_fn (void) |
typedef Linetype | eval_fn (const struct ops *, int *, const char **) |
Enumerations | |
enum | Linetype { LT_TRUEI, LT_FALSEI, LT_IF, LT_TRUE, LT_FALSE, LT_ELIF, LT_ELTRUE, LT_ELFALSE, LT_ELSE, LT_ENDIF, LT_DODGY, LT_DODGY_LAST = LT_DODGY + LT_ENDIF, LT_PLAIN, LT_EOF, LT_ERROR, LT_COUNT } |
enum | Ifstate { IS_OUTSIDE, IS_FALSE_PREFIX, IS_TRUE_PREFIX, IS_PASS_MIDDLE, IS_FALSE_MIDDLE, IS_TRUE_MIDDLE, IS_PASS_ELSE, IS_FALSE_ELSE, IS_TRUE_ELSE, IS_FALSE_TRAILER, IS_COUNT } |
enum | Comment_state { NO_COMMENT = false, C_COMMENT, CXX_COMMENT, STARTING_COMMENT, FINISHING_COMMENT, CHAR_LITERAL, STRING_LITERAL } |
enum | Line_state { LS_START, LS_HASH, LS_DIRTY } |
Functions | |
int | main (int argc, char *argv[]) |
Variables | |
const char | copyright [] |
enum Comment_state |
enum Ifstate |
enum Line_state |
enum Linetype |