[Bro-Dev] Include C++ header file in plugin function

Dane Wullen dane.wullen at alumni.fh-aachen.de
Fri May 18 12:09:44 PDT 2018


Hi Johanna,

I should've asked the question differently - If it is possible AND how I 
can do it. Sorry! :-)

But after a little bit of looking through the bro source code I found it.

%%{
     #include <sstream>
%%}

Greetings

Dane


Am 18.05.2018 um 20:33 schrieb Johanna Amann:
>>
>> Unfortunatly, to use "stringstream" I will have to include the 
>> <sstream> header file. Is this possible to do in plugin functions?
>>
>
> Sure, plugins include libraries/other headers/etc. all the time.
>
> Johanna



More information about the bro-dev mailing list