#include <isc/attributes.h>
#include <isc/buffer.h>
-#include <isc/bufferlist.h>
#include <isc/formatcheck.h>
#include <isc/lang.h>
#include <isc/list.h>
include/isc/base64.h \
include/isc/bind9.h \
include/isc/buffer.h \
- include/isc/bufferlist.h \
include/isc/cmocka.h \
include/isc/commandline.h \
include/isc/counter.h \
base64.c \
bind9.c \
buffer.c \
- bufferlist.c \
commandline.c \
counter.c \
crc64.c \
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-/*! \file */
-
-#include <stddef.h>
-
-#include <isc/buffer.h>
-#include <isc/bufferlist.h>
-#include <isc/util.h>
-
-unsigned int
-isc_bufferlist_usedcount(isc_bufferlist_t *bl) {
- isc_buffer_t *buffer;
- unsigned int length;
-
- REQUIRE(bl != NULL);
-
- length = 0;
- buffer = ISC_LIST_HEAD(*bl);
- while (buffer != NULL) {
- REQUIRE(ISC_BUFFER_VALID(buffer));
- length += isc_buffer_usedlength(buffer);
- buffer = ISC_LIST_NEXT(buffer, link);
- }
-
- return (length);
-}
-
-unsigned int
-isc_bufferlist_availablecount(isc_bufferlist_t *bl) {
- isc_buffer_t *buffer;
- unsigned int length;
-
- REQUIRE(bl != NULL);
-
- length = 0;
- buffer = ISC_LIST_HEAD(*bl);
- while (buffer != NULL) {
- REQUIRE(ISC_BUFFER_VALID(buffer));
- length += isc_buffer_availablelength(buffer);
- buffer = ISC_LIST_NEXT(buffer, link);
- }
-
- return (length);
-}
+++ /dev/null
-/*
- * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, you can obtain one at https://mozilla.org/MPL/2.0/.
- *
- * See the COPYRIGHT file distributed with this work for additional
- * information regarding copyright ownership.
- */
-
-#ifndef ISC_BUFFERLIST_H
-#define ISC_BUFFERLIST_H 1
-
-/*****
-***** Module Info
-*****/
-
-/*! \file isc/bufferlist.h
- *
- *
- *\brief Buffer lists have no synchronization. Clients must ensure
- * exclusive * access.
- *
- * \li Reliability:
- * No anticipated impact.
- *
- * \li Security:
- * No anticipated impact.
- *
- * \li Standards:
- * None.
- */
-
-/***
- *** Imports
- ***/
-
-#include <isc/lang.h>
-#include <isc/types.h>
-
-ISC_LANG_BEGINDECLS
-
-/***
- *** Functions
- ***/
-
-unsigned int
-isc_bufferlist_usedcount(isc_bufferlist_t *bl);
-/*!<
- * \brief Return the length of the sum of all used regions of all buffers in
- * the buffer list 'bl'
- *
- * Requires:
- *
- *\li 'bl' is not NULL.
- *
- * Returns:
- *\li sum of all used regions' lengths.
- */
-
-unsigned int
-isc_bufferlist_availablecount(isc_bufferlist_t *bl);
-/*!<
- * \brief Return the length of the sum of all available regions of all buffers
- * in the buffer list 'bl'
- *
- * Requires:
- *
- *\li 'bl' is not NULL.
- *
- * Returns:
- *\li sum of all available regions' lengths.
- */
-
-ISC_LANG_ENDDECLS
-
-#endif /* ISC_BUFFERLIST_H */
isc_buffer_reinit
isc_buffer_reserve
isc_buffer_setautorealloc
-isc_bufferlist_availablecount
-isc_bufferlist_usedcount
isc_commandline_parse
isc_commandline_strtoargv
isc_condition_broadcast
<ClInclude Include="..\include\isc\buffer.h">
<Filter>Library Header Files</Filter>
</ClInclude>
- <ClInclude Include="..\include\isc\bufferlist.h">
- <Filter>Library Header Files</Filter>
- </ClInclude>
<ClInclude Include="..\include\isc\commandline.h">
<Filter>Library Header Files</Filter>
</ClInclude>
<ClCompile Include="..\buffer.c">
<Filter>Library Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\bufferlist.c">
- <Filter>Library Source Files</Filter>
- </ClCompile>
<ClCompile Include="..\commandline.c">
<Filter>Library Source Files</Filter>
</ClCompile>
<ClInclude Include="..\include\isc\bind9.h" />
<ClInclude Include="..\include\isc\boolean.h" />
<ClInclude Include="..\include\isc\buffer.h" />
- <ClInclude Include="..\include\isc\bufferlist.h" />
<ClInclude Include="..\include\isc\commandline.h" />
<ClInclude Include="..\include\isc\counter.h" />
<ClInclude Include="..\include\isc\crc64.h" />
<ClCompile Include="..\base64.c" />
<ClCompile Include="..\bind9.c" />
<ClCompile Include="..\buffer.c" />
- <ClCompile Include="..\bufferlist.c" />
<ClCompile Include="..\commandline.c" />
<ClCompile Include="..\counter.c" />
<ClCompile Include="..\crc64.c" />
./lib/isc/base64.c C 1998,1999,2000,2001,2003,2004,2005,2007,2009,2013,2014,2015,2016,2018,2019,2020
./lib/isc/bind9.c C 2013,2016,2018,2019,2020
./lib/isc/buffer.c C 1998,1999,2000,2001,2002,2004,2005,2006,2007,2008,2012,2014,2015,2016,2017,2018,2019,2020
-./lib/isc/bufferlist.c C 1999,2000,2001,2004,2005,2007,2016,2018,2019,2020
./lib/isc/commandline.c C.PORTION 1999,2000,2001,2004,2005,2007,2008,2014,2015,2016,2018,2019,2020
./lib/isc/counter.c C 2014,2016,2018,2019,2020
./lib/isc/crc64.c C 2013,2016,2018,2019,2020
./lib/isc/include/isc/base64.h C 1999,2000,2001,2004,2005,2006,2007,2016,2018,2019,2020
./lib/isc/include/isc/bind9.h C 2009,2013,2016,2018,2019,2020
./lib/isc/include/isc/buffer.h C 1998,1999,2000,2001,2002,2004,2005,2006,2007,2008,2010,2012,2014,2016,2017,2018,2019,2020
-./lib/isc/include/isc/bufferlist.h C 1999,2000,2001,2004,2005,2006,2007,2016,2018,2019,2020
./lib/isc/include/isc/cmocka.h C 2020
./lib/isc/include/isc/commandline.h C 1999,2000,2001,2004,2005,2006,2007,2015,2016,2018,2019,2020
./lib/isc/include/isc/counter.h C 2014,2016,2018,2019,2020