vsf-tv / gccg-api

Draft API for the Ground-Cloud-Cloud-Ground Working Group: https://vsf.tv/Ground-Cloud-Cloud-Ground.shtml
BSD 2-Clause "Simplified" License
4 stars 2 forks source link

A user pointer in GccgSglEntry #3

Closed kierank closed 9 months ago

kierank commented 9 months ago

A user pointer would be quite nice so we can map the address back to the user's object without doing CONTAINER_OF or other tricks.

mhhen commented 9 months ago

Adding this to GccSglEntry and GccgSgList structures:

    /// @brief User defined parameter. This value is not modified by the API.
    void* user_param_ptr;
mhhen commented 9 months ago

Addressed by: https://github.com/vsf-tv/gccg-api/pull/11