Daniel Thayer created BIT-1107:
----------------------------------

             Summary: Documentation of BIFs that take variable number of 
arguments
                 Key: BIT-1107
                 URL: https://bro-tracker.atlassian.net/browse/BIT-1107
             Project: Bro Issue Tracker
          Issue Type: Problem
          Components: Bro
            Reporter: Daniel Thayer


The function prototype for BIFs that take a variable number of 
arguments appears in an altered form in the online documentation.

Here is a comparison of how these functions appear in the source code, 
versus what they look like in the online documentation:

md5_hash%(...%)  ===>  Type : function (va_args: any)
order%(v: any, ...%)  ===>  Type : function (va_args: any)
sort%(v: any, ...%)  ===>  Type : function (va_args: any)
cat_sep%(sep: string, def: string, ...%)  ===>  Type :  function (va_args: any)

The functions that have a named argument ("v" in sort, or "sep" in cat_sep)
have those arguments described in the online documentation, but we
cannot see them in the function prototype (only "va_args" is shown, 
which isn't actually the name of any function argument).




--
This message was sent by Atlassian JIRA
(v6.2-OD-03#6206)
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to