[Bro-Dev] enum namespacing
Seth Hall
seth at icir.org
Thu Mar 24 19:12:03 PDT 2011
On Mar 24, 2011, at 9:59 PM, Gregor Maier wrote:
> I guess the current rule is: if an identifier does not have a Foo::
> module specifier, it's placed in the current module. So,
>
> module HTTP;
> redef enum Software::Type += { Software::UNKNOWN }; # UNKNOWN in
> Software namespace
> redef enum Software::Type += { UNKNOWN }; # unknown in HTTP namespace
This is what would seem to make the most sense to me, but doesn't seem to be true currently.
.Seth
--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro-ids.org/
More information about the bro-dev
mailing list