mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-22 15:25:14 +03:00
coap_startup: Make coap_startup() first function call in examples
This then makes sure that all things libcoap are properly initialized before use, and coders realize they need to do this. Note: coap_new_context() continues to make sure that coap_startup() is invoked if not done previously, but this may be too late.
This commit is contained in:
1 parent
2f98643a09
commit
084c866c69
21 files changed
+179
-20
No files matched your search
@@ -416,4 +416,6 @@ int coap_client_delay_first(coap_session_t *session);
|
||||
|
||||
/** @} */
|
||||
|
||||
extern int coap_started;
|
||||
|
||||
#endif /* COAP_NET_INTERNAL_H_ */
|
||||
Reference in new issue
Block a user