2013-11-27 16:28:31 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2013 Freie Universität Berlin
|
|
|
|
*
|
|
|
|
* This file subject to the terms and conditions of the GNU Lesser General
|
|
|
|
* Public License. See the file LICENSE in the top level directory for more
|
|
|
|
* details.
|
|
|
|
*/
|
|
|
|
|
2010-09-22 15:10:42 +02:00
|
|
|
/**
|
2013-11-27 16:28:31 +01:00
|
|
|
* @addtogroup core_util
|
2010-09-22 15:10:42 +02:00
|
|
|
* @{
|
2013-11-27 16:28:31 +01:00
|
|
|
*
|
|
|
|
* @file oneway_malloc.h
|
|
|
|
* @brief Malloc interface
|
|
|
|
*
|
2013-03-08 11:30:23 +01:00
|
|
|
* @author Freie Universität Berlin, Computer Systems & Telematics
|
2010-09-22 15:10:42 +02:00
|
|
|
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _MALLOC_H
|
|
|
|
#define _MALLOC_H
|
|
|
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
2013-06-20 18:18:29 +02:00
|
|
|
void *_malloc(size_t size);
|
|
|
|
void *_realloc(void *ptr, size_t size);
|
2013-08-06 19:25:39 +02:00
|
|
|
void *_calloc(int size, size_t cnt);
|
2013-06-20 18:18:29 +02:00
|
|
|
void _free(void *ptr);
|
2010-09-22 15:10:42 +02:00
|
|
|
|
|
|
|
/** @} */
|
|
|
|
#endif /* _MALLOC_H */
|