MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Html_css_load_callback

Function Html_css_load_callback

src/html.cc:3233–3242  ·  view source on GitHub ↗

* Called by the network engine when a stylesheet has new data. */

Source from the content-addressed store, hash-verified

3231 * Called by the network engine when a stylesheet has new data.
3232 */
3233static void Html_css_load_callback(int Op, CacheClient_t *Client)
3234{
3235 _MSG("Html_css_load_callback: Op=%d\n", Op);
3236 if (Op) { /* EOF */
3237 BrowserWindow *bw = ((DilloWeb *)Client->Web)->bw;
3238 /* Repush when we've got them all */
3239 if (--bw->NumPendingStyleSheets == 0)
3240 a_UIcmd_repush(bw);
3241 }
3242}
3243
3244/**
3245 * Tell cache to retrieve a stylesheet

Callers

nothing calls this directly

Calls 1

a_UIcmd_repushFunction · 0.85

Tested by

no test coverage detected