util/buffer.c File Reference

Generic Buffer management. More...

#include <buffer.h>
#include <mempool.h>
#include <physmem.h>

Go to the source code of this file.

Functions

struct bufferbuffer_alloc (void)
 Allocate a buffer structure.
void buffer_free (struct buffer *buf)
 Free the buffer structure buf.
void buffer_resize (struct buffer *buf, size_t new_size)
 Resize the buffer pointed to by buf. The caller must make sure the new size fit into the allocated memory space.
void buffer_pool_init (void)
 Initialize the buffer pool.

Detailed Description

Generic Buffer management.

Copyright (C) 2009 Atmel Corporation. All rights reserved.

Definition in file buffer.c.

Generated on Thu Apr 29 15:18:22 2010 for display-training by  doxygen 1.6.3