diff options
author | Grant Erickson <gerickson@nuovations.com> | 2023-12-15 22:12:22 -0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2023-12-16 19:45:28 +0100 |
commit | 9d3a95a2eb87fd4b98523a3366fe1a29f1f9bbd5 (patch) | |
tree | 2fd8a771cd95f1b4b28989a76a709b16905bf03e | |
parent | 4b1075d148e69b4fc3ec538d0fbfc135fb431fee (diff) | |
download | connman-9d3a95a2eb87fd4b98523a3366fe1a29f1f9bbd5.tar.gz |
wispr: Document 'wispr_portal_context_route_ops'.
This adds documentation to the 'wispr_portal_context_route_ops'
structure.
-rw-r--r-- | src/wispr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wispr.c b/src/wispr.c index 317146af8..1af880118 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -75,6 +75,10 @@ struct wispr_route { uint32_t metric; }; +/** + * Gateway configuration function pointers for IP configuration + * type-specific route set/clear/add/delete operations. + */ struct wispr_portal_context_route_ops { int (*add_host_route_with_metric)(int index, const char *host, @@ -90,7 +94,13 @@ struct connman_wispr_portal_context { int refcount; struct connman_service *service; enum connman_ipconfig_type type; + + /** + * A pointer to immutable function pointers for route + * set/clear/add/delete operations. + */ const struct wispr_portal_context_route_ops *ops; + __connman_wispr_cb_t cb; struct connman_wispr_portal *wispr_portal; |