/* Register a uat 'preference'. It adds a button that opens the uat's window in the preferences tab of the module.  */
void prefs_register_uat_preference(module_t *module, const char *name, const char *title, const char *description, uat_t *uat)
/* Register a uat 'preference'. It adds a button that opens the uat's window in the preferences tab of the module.  */
void prefs_register_uat_preference(module_t *module, const char *name, const char *title, const char *description, uat_t *uat)
{
    pref_t* preference = register_preference(module, name, title, description, PREF_UAT);
    preference->varp.uat = uat;
}