Searched refs:coap_resource_t (Results 1 – 11 of 11) sorted by relevance
/net-tools-latest/libcoap/include/coap/ |
D | resource.h | 43 struct coap_resource_t *, 64 typedef struct coap_resource_t { struct 82 struct coap_resource_t *next; argument 97 } coap_resource_t; argument 109 coap_resource_t *coap_resource_init(const unsigned char *uri, 119 coap_resource_set_mode(coap_resource_t *r, int mode) { in coap_resource_set_mode() 131 void coap_add_resource(coap_context_t *context, coap_resource_t *resource); 168 coap_attr_t *coap_add_attr(coap_resource_t *resource, 185 coap_attr_t *coap_find_attr(coap_resource_t *resource, 234 coap_print_status_t coap_print_link(const coap_resource_t *resource, [all …]
|
D | lwippools.h | 55 LWIP_MEMPOOL(COAP_RESOURCE, MEMP_NUM_COAPRESOURCE, sizeof(coap_resource_t), "COAP_RESOURCE")
|
D | net.h | 55 struct coap_resource_t; 78 struct coap_resource_t *resources; /**< hash table or list of known resources */
|
/net-tools-latest/libcoap/src/ |
D | resource.c | 287 coap_resource_t * 289 coap_resource_t *r; 292 r = (coap_resource_t *)memp_malloc(MEMP_COAP_RESOURCE); 295 r = (coap_resource_t *)coap_malloc_type(COAP_RESOURCE, sizeof(coap_resource_t)); 298 memset(r, 0, sizeof(coap_resource_t)); 314 coap_add_attr(coap_resource_t *resource, 349 coap_find_attr(coap_resource_t *resource, 399 coap_add_resource(coap_context_t *context, coap_resource_t *resource) { 404 coap_free_resource(coap_resource_t *resource) { 429 coap_resource_t *resource; [all …]
|
D | mem.c | 73 MEMB(resource_storage, coap_resource_t, COAP_MAX_RESOURCES);
|
D | net.c | 1359 coap_resource_t *resource; in handle_request()
|
/net-tools-latest/libcoap/examples/contiki/ |
D | server.c | 46 static coap_resource_t *time_resource = NULL; /* just for testing */ 92 hnd_get_time(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_time() 145 coap_resource_t *r; in init_coap_resources()
|
/net-tools-latest/libcoap/examples/ |
D | etsi_iot_01.c | 129 hnd_get_index(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_index() 147 hnd_get_resource(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_resource() 223 hnd_delete_resource(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_delete_resource() 239 hnd_post_test(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_post_test() 267 coap_resource_t *r; in hnd_post_test() 305 hnd_put_test(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_put_test() 356 hnd_delete_test(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_delete_test() 372 hnd_get_query(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_query() 410 hnd_get_separate(coap_context_t *ctx, struct coap_resource_t *resource, in hnd_get_separate() 534 coap_resource_t *r; in init_resources()
|
D | coap-server.c | 45 struct coap_resource_t *time_resource = NULL; 70 struct coap_resource_t *resource UNUSED_PARAM, in hnd_get_index() 93 struct coap_resource_t *resource, in hnd_get_time() 160 struct coap_resource_t *resource UNUSED_PARAM, in hnd_put_time() 196 struct coap_resource_t *resource UNUSED_PARAM, in hnd_delete_time() 211 struct coap_resource_t *resource UNUSED_PARAM, in hnd_get_async() 290 coap_resource_t *r; in init_resources()
|
D | coap-rd.c | 97 struct coap_resource_t *resource, in hnd_get_resource() 125 struct coap_resource_t *resource UNUSED_PARAM, in hnd_put_resource() 203 struct coap_resource_t *resource, in hnd_delete_resource() 225 struct coap_resource_t *resource UNUSED_PARAM, in hnd_get_rd() 294 add_source_address(struct coap_resource_t *resource, in add_source_address() 389 struct coap_resource_t *resource UNUSED_PARAM, in hnd_post_rd() 395 coap_resource_t *r; in hnd_post_rd() 541 coap_resource_t *r; in init_resources()
|
/net-tools-latest/libcoap/tests/ |
D | test_wellknown.c | 29 coap_resource_t *r; in t_wellknown1() 78 coap_resource_t *r; in t_wellknown2() 132 coap_resource_t *r; in t_wellknown3() 264 coap_resource_t *r; in t_wkc_tests_create()
|