wordlist *
ACLIP::dump() const
{
- wordlist *w (NULL);
+ wordlist *w = NULL;
data->walk (DumpIpListWalkee, &w);
return w;
}
/*
- * $Id: ESICustomParser.cc,v 1.2 2003/07/14 14:15:56 robertc Exp $
+ * $Id: ESICustomParser.cc,v 1.3 2003/07/15 23:12:02 robertc Exp $
*
* DEBUG: section 86 ESI processing
* AUTHOR: Robert Collins
ESICustomParser::findTag(char const *buffer, size_t bufferLength)
{
size_t myOffset (0);
- void *resulttype (NULL);
+ void *resulttype = NULL;
while (myOffset < bufferLength &&
(resulttype =GetTrie()->findPrefix (buffer + myOffset, bufferLength - myOffset)) == NULL)
size_t openESITags (0);
char const *currentPos = content.buf();
size_t remainingCount = content.size();
- char const *tag (NULL);
+ char const *tag = NULL;
while ((tag = findTag(currentPos, remainingCount))) {
if (tag - currentPos)
/*
- * $Id: ESIExcept.h,v 1.1 2003/03/10 04:56:35 robertc Exp $
+ * $Id: ESIExcept.h,v 1.2 2003/07/15 23:12:02 robertc Exp $
*
* DEBUG: section 86 ESI processing
* AUTHOR: Robert Collins
/* esiExcept */
-struct esiExcept : public esiSequence
+class esiExcept : public esiSequence
{
+
+public:
// void *operator new (size_t byteCount);
// void operator delete (void *address);
void deleteSelf() const;
/*
- * $Id: SwapDir.h,v 1.4 2003/03/06 06:21:37 robertc Exp $
+ * $Id: SwapDir.h,v 1.5 2003/07/15 23:12:02 robertc Exp $
*
*
* SQUID Web Proxy Cache http://www.squid-cache.org/
typedef void STFSSHUTDOWN(void);
typedef SwapDir *STFSNEW(void);
-struct SwapDir
+class SwapDir
{
public:
/*
- * $Id: store_io_ufs.cc,v 1.18 2003/03/04 01:40:57 robertc Exp $
+ * $Id: store_io_ufs.cc,v 1.19 2003/07/15 23:12:02 robertc Exp $
*
* DEBUG: section 79 Storage Manager UFS Interface
* AUTHOR: Duane Wessels
delete qr;
}
- struct _queued_write *qw;
+ _queued_write *qw;
- while ((qw = (struct _queued_write *)linklistShift(&pending_writes))) {
+ while ((qw = (_queued_write *)linklistShift(&pending_writes))) {
if (qw->free_func)
qw->free_func(const_cast<char *>(qw->buf));
delete qw;
{
debug(79, 3) ("UFSStoreState::queueWrite: queuing write\n");
- struct _queued_write *q;
+ _queued_write *q;
q = new _queued_write;
q->buf = buf;
q->size = size;