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

Function cupsdUnlinkOrRemoveFile

scheduler/file.c:392–400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

390 */
391
392int /* O - 0 on success, -1 on error */
393cupsdUnlinkOrRemoveFile(
394 const char *filename) /* I - Filename */
395{
396 if (Classification)
397 return (cupsdRemoveFile(filename));
398 else
399 return (unlink(filename));
400}
401
402
403#ifndef HAVE_REMOVEFILE

Callers 5

install_cupsd_confFunction · 0.85
cupsdCleanFilesFunction · 0.85
remove_job_filesFunction · 0.85
remove_job_historyFunction · 0.85

Calls 1

cupsdRemoveFileFunction · 0.85

Tested by

no test coverage detected