More code cleanup for Contiki.

coap_cancel() now uses the new resource_iterator.
This commit is contained in:
Olaf Bergmann committed 2014-06-18 18:26:41 +02:00
1 parent 68947e5e36
commit e6047eddb2
2 files changed
+26 -19

No files matched your search

+2 -2
View File
@@ -96,9 +96,9 @@ typedef struct {
/** The CoAP stack's global state is stored in a coap_context_t object */
typedef struct coap_context_t {
coap_opt_filter_t known_options;
#ifndef WITH_CONTIKI
struct coap_resource_t *resources; /**< hash table or list of known resources */
#endif /* WITH_CONTIKI */
#ifndef WITHOUT_ASYNC
/** list of asynchronous transactions */
struct coap_async_state_t *async_state;