A global pool of Buffers. More...
Go to the source code of this file.
Functions | |
void | mutt_buffer_pool_free (void) |
Release the Buffer pool. More... | |
struct Buffer * | mutt_buffer_pool_get (void) |
Get a Buffer from the pool. More... | |
void | mutt_buffer_pool_release (struct Buffer **pbuf) |
Free a Buffer from the pool. More... | |
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 mutt_buffer_pool_free | ( | void | ) |
Release the Buffer pool.
Definition at line 87 of file pool.c.
struct Buffer * mutt_buffer_pool_get | ( | void | ) |
void mutt_buffer_pool_release | ( | struct Buffer ** | pbuf | ) |
Free a Buffer from the pool.
[out] | pbuf | Buffer to free |
Definition at line 112 of file pool.c.