A global pool of Buffers. More...
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | buf_pool_cleanup (void) |
| Release the Buffer pool. | |
| struct Buffer * | buf_pool_get (void) |
| Get a Buffer from the pool. | |
| void | buf_pool_release (struct Buffer **ptr) |
| Return a Buffer to the pool. | |
A global pool of Buffers.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file pool.h.
| void buf_pool_cleanup | ( | void | ) |
Release the Buffer pool.
Definition at line 68 of file pool.c.
Here is the call graph for this function:
Here is the caller graph for this function:| struct Buffer * buf_pool_get | ( | void | ) |
| void buf_pool_release | ( | struct Buffer ** | ptr | ) |
Return a Buffer to the pool.
| [out] | ptr | Buffer to release |
Definition at line 96 of file pool.c.
Here is the call graph for this function: