summaryrefslogtreecommitdiffstats
path: root/init/ueventd_keywords.h
blob: 88e8f0158c88a638953e5193e48932adfab37533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef KEYWORD
#define __MAKE_KEYWORD_ENUM__
#define KEYWORD(symbol, flags, nargs) K_##symbol,
enum {
    K_UNKNOWN,
#endif
    KEYWORD(subsystem,      SECTION,    1)
    KEYWORD(devname,        OPTION,     1)
    KEYWORD(dirname,        OPTION,     1)
#ifdef __MAKE_KEYWORD_ENUM__
    KEYWORD_COUNT,
};
#undef __MAKE_KEYWORD_ENUM__
#undef KEYWORD
#endif