[Bro-Dev] enums in modules

Seth Hall seth at icir.org
Thu Jan 20 13:50:47 PST 2011

How would I refer to an enum type as type for an argument in a BiF or function?  I have an enum named Logging::ID, and I want it to be the first argument in this BiF...

function logging_log%(id: Logging::ID, rec: any%): bool

That obviously doesn't parse though, are there any workarounds?


More information about the bro-dev mailing list