/*
- * $Id: structs.h,v 1.231 1998/09/19 17:06:17 wessels Exp $
+ * $Id: structs.h,v 1.232 1998/09/22 17:50:33 wessels Exp $
*
*
* SQUID Internet Object Cache http://squid.nlanr.net/Squid/
int reads;
int writes;
int seeks;
+ int unlinks;
} disk;
struct {
int accepts;
int selects;
#endif
} syscalls;
+ int store_files_cleaned;
};
/* per header statistics */
/*
- * $Id: tools.cc,v 1.167 1998/08/24 22:06:49 wessels Exp $
+ * $Id: tools.cc,v 1.168 1998/09/22 17:50:33 wessels Exp $
*
* DEBUG: section 21 Misc Functions
* AUTHOR: Harvest Derived
quiet ? NULL : safeunlinkComplete,
quiet ? NULL : xstrdup(s));
#else
+ Counter.syscalls.disk.unlinks++;
if (unlink(s) < 0 && !quiet)
debug(50, 1) ("safeunlink: Couldn't delete %s: %s\n", s, xstrerror());
#endif