+/*
+ * Copyright (C) 1996-2018 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.
+ */
+
/**
\page Conventions Coding and Other Conventions used in Squid
\par
If you need to use specific width types - such as
a 16 bit unsigned integer, use one of the following types. To access
- them simply include "config.h".
+ them simply include "squid.h".
\verbatim
int16_t - 16 bit signed.
- u_int16_t - 16 bit unsigned.
+ uint16_t - 16 bit unsigned.
int32_t - 32 bit signed.
- u_int32_t - 32 bit unsigned.
+ uint32_t - 32 bit unsigned.
int64_t - 64 bit signed.
- u_int64_t - 64 bit unsigned.
+ uint64_t - 64 bit unsigned.
\endverbatim
\section Documentation Documentation Conventions
* then passes the state off to FUBAR.
* No check for null-termination is done.
*/
- xmemcpy(g, glen, state->foo_end_ptr );
+ memcpy(g, glen, state->foo_end_ptr );
state->foo_end_ptr += glen;
fubar(state);
}