mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 01:42:53 +03:00
0d78eab2e190c29a1ca5f18506212083bd9694e2
Two new functions coap_malloc_type() and coap_free_type() have been added to centralize the typed memory allocation for Contiki and LWIP. Currently, calls to memb_alloc(), memp_malloc() and coap_malloc() are distributed across several modules. The idea of the new functions is to centralize memory management in one place (mem.c). coap_malloc() and coap_free() are still available as wrappers for the new functions.
libcoap: A C implementation of IETF Core Application protocol Copyright (C) 2010--2013 by Olaf Bergmann <bergmann@tzi.org> ABOUT LIBCOAP libcoap is a C implementation of a lightweight application-protocol for devices that are constrained their resources such as computing power, RF range, memory, bandwith, or network packet sizes. This protocol, CoAP, is developed in the IETF working group "Constrained RESTful Environments (core)", see <http://6lowapp.net>. PACKAGE CONTENTS This directory contains a protocol parser and basic networking functions for platform with support for malloc() and BSD-style sockets. The examples directory contains a client and a server to demonstrate the use of this library. LICENSE INFORMATION This library is published as open-source software without any warranty of any kind. Use is permitted under the terms of the GNU General Public License (GPL), Version 2 or higher, OR the revised BSD license. Please refer to LICENSE.GPL oder LICENSE.BSD for further details.
Description
No description provided
14 MiB
0 Stars
2 Watchers
0 Forks
Languages
C
93.6%
M4
2.9%
CMake
1.8%
Shell
0.7%
Makefile
0.6%
Other
0.4%