/* Register a subtree that will have modules under it. Specify the module under which to register it or NULL to register it at the top level and the title used in the tab for it in a preferences dialog box.  */
module_t* prefs_register_subtree(module_t *parent, const char *title, const char *description, void(*apply_cb)(void))
/* Register a subtree that will have modules under it. Specify the module under which to register it or NULL to register it at the top level and the title used in the tab for it in a preferences dialog box.  */
module_t* prefs_register_subtree(module_t *parent, const char *title, const char *description, void(*apply_cb)(void))
{
    return prefs_register_module_or_subtree(parent, NULL, title, description,
                                            TRUE, apply_cb,
                                            parent ? parent->use_gui : FALSE);
}