[Bro-Dev] Opaque type in plugin

Robin Sommer robin at icir.org
Mon May 2 07:51:18 PDT 2016



On Mon, May 02, 2016 at 15:39 +0200, you wrote:

> that I initialized in place. This went well and the new opaque value
> seems to behave as expected. However, I wonder if I am missing anything
> that might cause problems?

Mind sharing your code (both before/after the change, and also the
error message you got)?

> One thing I am aware of is that I did not declare the value type as
> serializable.

Yeah, fine as long as you don't try to send it around or store on disk.

> Besides it would require to define a corresponding identifier (see
> SerialTypes.h), whose uniqueness cannot be guaranteed for a plugin,
> right?

Yeah, good point, there's no mechanism for that.

Robin

-- 
Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin


More information about the bro-dev mailing list