-//
-// $Id$
-//
+/*
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
// Author: Jens-S. V?ckler <voeckler@rvs.uni-hannover.de>
//
// File: squid-tlv.cc
// Revision 1.1 1999/06/15 21:10:16 voeckler
// Initial revision
//
-//
-#if defined(__GNUC__) || defined(__GNUG__)
-#pragma implementation
-#endif
-#include "config.h"
-//#include <assert.h>
+#include "squid.h"
#include "squid-tlv.hh"
SquidTLV::SquidTLV( SquidMetaType _type, size_t _size, void* _data )
- :next(0),size(_size)
+ :next(0),size(_size)
{
type = _type;
data = (char*) _data;
while ( temp && temp->type != type ) temp = temp->next;
return temp;
}
+