mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-27 13:11:24 +03:00
coap_subscribe.c: Sanity check persist startup logic
This commit is contained in:
1 parent
64e2a65ad0
commit
df90dfd7b1
4 files changed
+51
-30
No files matched your search
@@ -253,6 +253,17 @@ coap_print_status_t coap_print_wellknown_lkd(coap_context_t *context,
|
||||
size_t offset,
|
||||
const coap_string_t *query_filter);
|
||||
|
||||
/**
|
||||
* Check to see if a dynamic resource needs to be added.
|
||||
*
|
||||
* @param session Session potentiall adding a new dynamic resource.
|
||||
* @param pdu PDU that is asking for an unknown resource.
|
||||
*
|
||||
* @return Created resource or NULL is resource eneration not applicable.
|
||||
*/
|
||||
coap_resource_t *coap_add_dynamic_resource(coap_session_t *session,
|
||||
coap_pdu_t *pdu);
|
||||
|
||||
/** @} */
|
||||
|
||||
#endif /* COAP_SERVER_SUPPORT */
|
||||
|
||||
Reference in new issue
Block a user