Pass a bitmask of keywords to handle_attributes
commit98bc3822609c14243c5e612099a23e67eb8c40dd
authorChristopher Li <sparse@chrisli.org>
Wed, 2 May 2007 07:20:56 +0000 (2 00:20 -0700)
committerJosh Triplett <josh@freedesktop.org>
Wed, 2 May 2007 18:05:38 +0000 (2 11:05 -0700)
treeedc7f817b8b78f9d581dc32b60c5b3617e50552d
parent6b595d01c196bb013d6d95fc297ae2cb07c1fce7
Pass a bitmask of keywords to handle_attributes

The reason I use bitmask in the keyword so that it can allow the caller
to select a sub set of keywords. If we want, we can fine tune exactly
what keyword is allowed. It also makes the caller of handle_attributes
show exactly what kind of attribute it takes.

[original patch]
Signed-Off-By: Christopher Li <sparse@chrisli.org>
[type fix]
Signed-off-by: Josh Triplett <josh@freedesktop.org>
parse.c