mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-06 09:42:54 +03:00
resource.c: Increase use of coap_malloc_type() and coap_free_type()
coap_malloc_type() and coap_free_type() provide an abstract API for dynamic memory management on different platforms. resource.c still is in transition and needs more cleanup.
This commit is contained in:
1 parent
d55bd85e14
commit
ecda1426ac
3 files changed
+16
-25
No files matched your search
+1
-1
@@ -28,7 +28,7 @@ void coap_memory_init(void);
|
||||
* memory management on constrained devices.
|
||||
*/
|
||||
typedef enum {
|
||||
COAP_STRING, COAP_ATTRIBUTE_NAME, COAP_ATTRIBUTE_VALUE, COAP_PACKET, COAP_NODE, COAP_CONTEXT, COAP_ENDPOINT, COAP_PDU, COAP_PDU_BUF
|
||||
COAP_STRING, COAP_ATTRIBUTE_NAME, COAP_ATTRIBUTE_VALUE, COAP_PACKET, COAP_NODE, COAP_CONTEXT, COAP_ENDPOINT, COAP_PDU, COAP_PDU_BUF, COAP_RESOURCE, COAP_RESOURCEATTR
|
||||
} coap_memory_tag_t;
|
||||
|
||||
#ifndef WITH_LWIP
|
||||
|
||||
Reference in new issue
Block a user