[Bro-Dev] Loading directories

Robin Sommer robin at icir.org
Wed Jun 1 15:51:13 PDT 2011


On Wed, Jun 01, 2011 at 14:26 -0700, you wrote:

> How about just foo/foo.bro?

Hmm ... I think I'd prefer some visual indicator that the script is
special, i.e., it gets loaded when the directory is specified. Having
a consistent name for that would point that out. 

> BTW, if foo.bro itself pulls in ext1.bro etc., then what if the user doesn't
> *want* the ext1.bro functionality?

The model is that by "@load foo" he gets the full set. If he doesn't
want that, he can still pick his pieces individually ("@load
foo/base.bro; @load foo/ext2.bro").

The @unload may do it too, but I don't like that statement. :)

Robin

-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list