> Script-Author Example Usage
> ---------------------------
> 
> # Script author that wants to utilize data stores doesn't have to be aware of
> # whether user is running a cluster or if they want to use persistent storage
> # backends.
> 
> const Software::tracked_store_name = "bro/framework/software/tracked" &redef;
> 
> global Software::tracked_store: opaque of Broker::Store;
> 
> event bro_init() &priority = +10
>   {
>   Software::tracked_store = Broker::InitStore(Software::tracked_store_name);
>   }

I hope that this was not already answered somewhere else and I just missed
it - after you set up a store with Broker::InitStore, how do you interact
with Software::tracked_store?

I am especially curious how this handles the strong typing of Bro.

Johanna
_______________________________________________
bro-dev mailing list
[email protected]
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev

Reply via email to