Home
last modified time | relevance | path

Searched refs:coap_resource_t (Results 1 - 22 of 22) sorted by relevance

/third_party/libcoap/include/coap3/
H A Dcoap_resource.h36 (coap_resource_t *,
150 * @p uri_path. This function returns the new coap_resource_t object.
174 coap_resource_t *coap_resource_init(coap_str_const_t *uri_path,
196 * This function returns the new coap_resource_t object.
203 coap_resource_t *coap_resource_unknown_init(coap_method_handler_t put_handler);
224 * This function returns the new coap_resource_t object.
233 coap_resource_t *coap_resource_unknown_init2(coap_method_handler_t put_handler,
238 * This function returns the new coap_resource_t object.
251 coap_resource_t *coap_resource_proxy_uri_init(coap_method_handler_t handler,
257 * This function returns the new coap_resource_t objec
[all...]
H A Dcoap_block_internal.h104 coap_resource_t *resource; /**< associated resource */
191 coap_resource_t *resource; /**< associated resource */
257 coap_resource_t *resource,
268 coap_resource_t *resource,
275 coap_resource_t *resource,
283 const coap_resource_t *resource,
330 const coap_resource_t *resource,
H A Dcoap_subscribe.h52 void coap_resource_set_get_observable(coap_resource_t *resource, int mode);
63 int coap_resource_notify_observers(coap_resource_t *resource,
258 void coap_persist_set_observe_num(coap_resource_t *resource,
H A Dcoap_subscribe_internal.h105 coap_subscription_t *coap_add_observer(coap_resource_t *resource,
119 coap_subscription_t *coap_find_observer(coap_resource_t *resource,
146 int coap_delete_observer(coap_resource_t *resource,
H A Dcoap_forward_decls.h98 typedef struct coap_resource_t coap_resource_t; typedef
H A Dcoap_net_internal.h52 coap_resource_t *resources; /**< hash table or list of known
54 coap_resource_t *unknown_resource; /**< can be used for handling
56 coap_resource_t *proxy_uri_resource; /**< can be used for handling
H A Dcoap_resource_internal.h53 struct coap_resource_t { struct
128 coap_resource_t *tmp, *rtmp; \
H A Dcoap_block.h391 int coap_add_data_large_response(coap_resource_t *resource,
/third_party/libcoap/src/
H A Dcoap_resource.c268 coap_resource_t *
270 coap_resource_t *r;
272 r = (coap_resource_t *)coap_malloc_type(COAP_RESOURCE, sizeof(coap_resource_t));
274 memset(r, 0, sizeof(coap_resource_t));
302 coap_resource_t *
304 coap_resource_t *r;
306 r = (coap_resource_t *)coap_malloc_type(COAP_RESOURCE, sizeof(coap_resource_t));
308 memset(r, 0, sizeof(coap_resource_t));
[all...]
H A Dcoap_mem.c266 static coap_resource_t resource_storage_data[COAP_MAX_RESOURCES];
H A Dcoap_subscribe.c71 coap_resource_t *r; in coap_persist_observe_add()
662 coap_resource_t *r; in coap_op_obs_cnt_load_disk()
894 coap_resource_t *r; in coap_op_dyn_resource_load_disk()
H A Dcoap_block.c555 const coap_resource_t *resource, in coap_find_lg_xmit_response()
595 coap_resource_t *resource, in coap_add_data_large_internal()
1016 coap_add_data_large_response(coap_resource_t *resource, in coap_add_data_large_response()
1960 coap_resource_t *resource, in coap_send_q_block2()
2216 coap_resource_t *resource, in coap_handle_request_send_block()
2580 coap_resource_t *resource, in coap_handle_request_put_block()
3853 coap_pdu_t *response, const coap_resource_t *resource, in coap_check_code_lg_xmit()
H A Dcoap_net.c2502 hnd_get_wellknown(coap_resource_t *resource, in hnd_get_wellknown()
2661 coap_session_t *session, coap_resource_t *resource) { in no_response()
2755 static coap_resource_t resource_uri_wellknown;
2762 coap_resource_t *resource = NULL; in handle_request()
3574 coap_resource_t *resource; in coap_dispatch()
/third_party/libcoap/examples/
H A Detsi_iot_01.c71 coap_find_payload(coap_resource_t *resource) { in coap_find_payload()
76 coap_add_payload(coap_resource_t *resource, coap_payload_t *payload) { in coap_add_payload()
83 coap_delete_payload(coap_resource_t *resource) { in coap_delete_payload()
95 hnd_get_index(coap_resource_t *resource COAP_UNUSED,
117 hnd_get_resource(coap_resource_t *resource, in hnd_get_resource()
142 hnd_delete_resource(coap_resource_t *resource, in hnd_delete_resource()
160 hnd_post_test(coap_resource_t *resource COAP_UNUSED, in hnd_post_test()
190 coap_resource_t *r; in hnd_post_test()
226 hnd_put_test(coap_resource_t *resource, in hnd_put_test()
279 hnd_delete_test(coap_resource_t *resourc
[all...]
H A Doscore-interop-server.c69 static coap_resource_t *r_observe_1;
70 static coap_resource_t *r_observe_2;
89 hnd_get_index(coap_resource_t *resource, in hnd_get_index()
105 hnd_get_hello_coap(coap_resource_t *resource, in hnd_get_hello_coap()
118 hnd_get_hello_1(coap_resource_t *resource, in hnd_get_hello_1()
131 hnd_get_hello_2(coap_resource_t *resource, in hnd_get_hello_2()
144 hnd_get_hello_3(coap_resource_t *resource, in hnd_get_hello_3()
157 hnd_post_hello_6(coap_resource_t *resource, in hnd_post_hello_6()
174 hnd_put_hello_7(coap_resource_t *resource, in hnd_put_hello_7()
205 hnd_get_observe1(coap_resource_t *resourc
[all...]
H A Dcoap-rd.c138 hnd_get_resource(coap_resource_t *resource, in hnd_get_resource()
162 hnd_put_resource(coap_resource_t *resource COAP_UNUSED, in hnd_put_resource()
238 hnd_delete_resource(coap_resource_t *resource, in hnd_delete_resource()
256 hnd_get_rd(coap_resource_t *resource COAP_UNUSED, in hnd_get_rd()
326 add_source_address(coap_resource_t *resource, in add_source_address()
384 hnd_post_rd(coap_resource_t *resource COAP_UNUSED, in hnd_post_rd()
389 coap_resource_t *r; in hnd_post_rd()
536 coap_resource_t *r; in init_resources()
H A Dcoap-server.c87 coap_resource_t *time_resource = NULL;
264 hnd_get_index(coap_resource_t *resource, in hnd_get_index()
278 hnd_get_fetch_time(coap_resource_t *resource, in hnd_get_fetch_time()
333 hnd_put_time(coap_resource_t *resource, in hnd_put_time()
381 hnd_delete_time(coap_resource_t *resource COAP_UNUSED, in hnd_delete_time()
397 hnd_get_async(coap_resource_t *resource, in hnd_get_async()
466 hnd_get_example_data(coap_resource_t *resource, in hnd_get_example_data()
507 hnd_put_example_data(coap_resource_t *resource, in hnd_put_example_data()
650 static coap_resource_t *proxy_resource = NULL;
979 hnd_proxy_uri(coap_resource_t *resourc
[all...]
/third_party/libcoap/examples/contiki/
H A Dserver.c41 static coap_resource_t *time_resource = NULL; /* just for testing */
71 hnd_get_time(coap_resource_t *resource, coap_session_t *session, in hnd_get_time()
114 coap_resource_t *r; in init_coap_resources()
/third_party/libcoap/tests/
H A Dtest_wellknown.c35 coap_resource_t *r; in t_wellknown1()
84 coap_resource_t *r; in t_wellknown2()
138 coap_resource_t *r; in t_wellknown3()
211 coap_resource_t *r; in t_wkc_tests_create()
/third_party/libcoap/examples/lwip/
H A Dserver-coap.c22 static coap_resource_t *time_resource = NULL; /* just for testing */
29 hnd_get_time(coap_resource_t *resource, coap_session_t *session, in hnd_get_time()
74 coap_resource_t *r; in init_coap_resources()
/third_party/libcoap/examples/riot/examples_libcoap_server/
H A Dserver-coap.c31 static coap_resource_t *time_resource = NULL; /* just for testing */
34 hnd_get_time(coap_resource_t *resource, coap_session_t *session, in hnd_get_time()
78 coap_resource_t *r; in init_coap_resources()
/third_party/libcoap/examples/lwip/config/
H A Dlwippools.h149 LWIP_MEMPOOL(COAP_RESOURCE, MEMP_NUM_COAPRESOURCE, sizeof(coap_resource_t), "COAP_RESOURCE")

Completed in 40 milliseconds