Re: [Wireshark-dev] UAT access from within the registration functions

2009-04-10 Thread Abhik Sarkar
Thank you, thank you, thank you, Luis! It never occurred to me that I could load it manually. This worked! Also, it turns out that my original approach did not work because UAT preferences is one of the only preference types which, if changed, doesn't lead to the calling of the apply_cb passed in

Re: [Wireshark-dev] UAT access from within the registration functions

2009-04-10 Thread Luis EG Ontanon
You welcome, I made uat_load() idempotent to do exactly what you needed, It is used in oids.c to set the path and list the MIBS to be loaded, as such I needed it to be loaded at protocol registration and no later. To avoid it being loaded twice uat_load marks the uat as loaded. \Lego On Fri,

Re: [Wireshark-dev] UAT access from within the registration functions

2009-04-09 Thread Luis EG Ontanon
You can call uat_load() to have it loaded before preferences. 2009/3/25 Abhik Sarkar sarkar.ab...@gmail.com: Hi All, I want to read some data from a UAT while I am still in the registration functions. Going through the documentation and the code, it seems that all UAT tables are loaded

[Wireshark-dev] UAT access from within the registration functions

2009-03-25 Thread Abhik Sarkar
Hi All, I want to read some data from a UAT while I am still in the registration functions. Going through the documentation and the code, it seems that all UAT tables are loaded when preferences are being read, and that if some registration needs to be done after preferences have been loaded,