mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-08 02:22:54 +03:00
The library API lacks a way to store context for the handlers. A LED-handler for example needs to now on which pin the specific LED is connected in order to control it. Or a higher level API would like to save the object pointer to the object responsible for the resource. This change will introduce a void pointer for the user to save context. He can then retrieve the context in the handler if needed.