Traversing 'Table' in C code of Bro Plugin

I am trying to create a plugin that allows a user to define a 'table'
of key/values that are all strings. In my BIF file I have something
like the following:

  const config: table[string] of string;

It seems that a table in Bro maps to a TableType* in the C space of my plugin.

    TableType *config = BifConst::Example::config;

How do I go about iterating over the key/value pairs defined in
'config' in the C code of my plugin? I am unable to find any good
examples of code doing that.

Many thanks in advance.

Hi Nick, is
the most succint example I could find after a quick look. You call
InitForIteration() and then get the individual TableEntryVal*s calling

I hope this helps,