PrefResult result = PREF_OK;
nsresult rv = NS_OK;
static PrefResult pref_DoCallback(const char* changed_pref){    PrefResult result = PREF_OK;    struct CallbackNode* node;    for (node = gCallbacks; node != NULL; node = node->next)    {        if ( PL_strncmp(changed_pref, node->domain, PL_strlen(node->domain)) == 0 )        {            int result2 = (*node->func) (changed_pref, node->data);            if (result2 != 0)                result = (PrefResult)result2;        }    }    return result;}