[Bro-Dev] #286: Script level varargs

Bro Tracker bro-dev at bro-ids.org
Thu Oct 7 13:48:21 PDT 2010


#286: Script level varargs
------------------------------+---------------------------------------------
Reporter:  seth               |       Owner:     
    Type:  Feature Request    |      Status:  new
Priority:  Normal             |   Component:  Bro
 Version:  1.5.2-devel (svn)  |    Keywords:     
------------------------------+---------------------------------------------
 I'd like to be able to use something akin to varargs in the scripting
 language.  The syntax I'm using in the example is pretty bad. :)

 i.e.
 {{{
 function do_something(a: string, ...:set[string[): bool
     {
     for ( s in VARARGS)
         {
         print s;
         }
     return t;
     }
 }}}

-- 
Ticket URL: <http://tracker.icir.org/bro/ticket/286>
Bro Tracker <http://tracker.icir.org/bro>
Bro Issue Tracker




More information about the bro-dev mailing list