MCPcopy Create free account
hub / github.com/OpenPrinting/cups / invalidate_cupsd_cache

Function invalidate_cupsd_cache

cups/adminutil.c:1454–1464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1452 */
1453
1454static void
1455invalidate_cupsd_cache(
1456 _cups_globals_t *cg) /* I - Global data */
1457{
1458 cupsFreeOptions(cg->cupsd_num_settings, cg->cupsd_settings);
1459
1460 cg->cupsd_hostname[0] = '\0';
1461 cg->cupsd_update = 0;
1462 cg->cupsd_num_settings = 0;
1463 cg->cupsd_settings = NULL;
1464}

Callers 3

get_cupsd_confFunction · 0.85

Calls 1

cupsFreeOptionsFunction · 0.85

Tested by

no test coverage detected