Esempio n. 1
0
void xmpp_iq_get_configs(f_get_configs_cb cb, void *args)
{
    if (cvar.query_disable_get_configs)
        return;

    querycache_request((struct querycache *) &session.wf.config,
                       QUERYCACHE_ANY_CHANNEL,
                       cb,
                       args);
}
void xmpp_iq_shop_get_offers(f_shop_get_offers_cb cb,
                             void *args)
{
    if (cvar.query_disable_shop_get_offers)
        return;

    querycache_request((struct querycache *) &session.wf.shop,
                       QUERYCACHE_ANY_CHANNEL,
                       cb,
                       args);
}