blob: 37b05a21a5622c8bdd99b6ac58680b868e9f938c [file]
/* -*- Mode: C++; tab-width: 4 indent-tabs-mode: nil -*-
*
* Copyright (c) 2013 Nest Labs, Inc.
* All rights reserved.
*
* This document is the property of Nest. It is considered
* confidential and proprietary information.
*
* This document may not be reproduced or transmitted in any form,
* in whole or in part, without the express written permission of
* Nest.
*
* Description:
* This file defines statically-allocated pools of memory that
* are used by LwIP in lieu of the Stanard C Library heap.
*
* In lwipopts.h, define MEM_USE_POOLS to use the standard set
* of size-based pools and define MEMP_USE_CUSTOM_POOLS to use
* custom, named pools.
*
*/
#ifndef __COMMON_LWIPPOOLS_H__
#define __COMMON_LWIPPOOLS_H__
#warning "Using lwippools.h!"
/* Define pools in increasing order according to the pool element
* size.
*
* LWIP_MALLOC_MEMPOOL(number_elements, element_size)
*/
#if MEM_USE_POOLS
#endif /* MEM_USE_POOLS */
/* Define pools in increasing order according to the pool element
* size.
*
* LWIP_MEMPOOL(name, number_elements, element_size, description)
*/
#if MEMP_USE_CUSTOM_POOLS
#endif /* MEMP_USE_CUSTOM_POOLS */
#endif /* __COMMMON_LWIPPOOLS_H__ */