libcoap
4.3.0
|
Generic resource internal handling. More...
#include "uthash.h"
Go to the source code of this file.
Data Structures | |
struct | coap_attr_t |
Abstraction of attribute associated with a resource. More... | |
struct | coap_resource_t |
Abstraction of resource that can be attached to coap_context_t. More... | |
Macros | |
#define | RESOURCES_ADD(r, obj) HASH_ADD(hh, (r), uri_path->s[0], (obj)->uri_path->length, (obj)) |
#define | RESOURCES_DELETE(r, obj) HASH_DELETE(hh, (r), (obj)) |
#define | RESOURCES_ITER(r, tmp) |
#define | RESOURCES_FIND(r, k, res) |
Functions | |
void | coap_delete_all_resources (coap_context_t *context) |
Deletes all resources from given context and frees their storage. More... | |
void | coap_delete_attr (coap_attr_t *attr) |
Deletes an attribute. More... | |
coap_print_status_t | coap_print_wellknown (coap_context_t *, unsigned char *, size_t *, size_t, coap_opt_t *) |
Prints the names of all known resources to buf . More... | |
Generic resource internal handling.
Definition in file coap_resource_internal.h.