Hello,


My name is Bianca and I am working on ATS plugin. Currently our plugin relies 
on ATS configuration framework and its configuration parameters are added to 
records.config file. In order to do so every time we add a new configuration 
parameter, we have to go to RecordsConfig.cc file and manually add the parameter

to the RecordsConfig array. In this workflow we need to compile the ATS each 
time.

After a small investigation we found RecRegisterConfig<Type> functions in 
I_RecCore.h. If we understood correctly these functions add the parameter and 
its type "on the fly" instead of having to add it to the static array. We are 
calling these functions once our plugin is loaded and everything is working as 
expected.



We would like to consult with you regarding two things:

1. Maybe these functions worth adding to ATS API and if so, what is the best 
way to do so in your opinion? Add wrapper functions to API, calling the 
original ones? Maybe some other way you find more suitable?

2. In order to be able to use these functions we had to split I_RecDefs.h file 
into two parts: I_RecDefs.h and I_RecDefs_common.h where I_RecDefs_common.h 
holds all the data types passed to the RecRegisterConfig<Type> functions. This 
was done in order to not add new enums and avoid mismatch bugs likely to happen 
in such cases. This I_RecDefs_common.h file is included from ts.h file. Is it 
ok to do so or should we define "wrappers" in the ts.h file.



I hope I was able to explain myself.

Thank you in advance,

Bianca




BIANCA COOPER
Software Engineer II

SECURITY SOFTWARE WEBSENSE ISRAEL LTD.
ph: +972.9.776.0241
fax:
www.websense.com<http://www.websense.com>

Websense TRITON(tm)
For Essential Information Protection(tm)
Web Security<http://www.websense.com/content/WebSecurityOverview.aspx> | Data 
Security<http://www.websense.com/content/DataSecurity.aspx> | Email 
Security<http://www.websense.com/content/MessagingSecurity.aspx>



 Protected by Websense Hosted Email Security -- www.websense.com 

Reply via email to