[PATCH v2 18/22] wispr: Document 'wispr_portal_web_result_err'.
Grant Erickson <[email protected]>
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <2cf56e52c1a64301782ff0d8e2966486c3d92d8f.1741059516.git.gerickson@nuovations.com> |
Add documentation to the 'wispr_portal_web_result_err' function. --- src/wispr.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/wispr.c b/src/wispr.c index 18930aa3a0ea..b3fc99949206 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -1003,6 +1003,29 @@ static bool wispr_manage_message(GWebResult *result, return false; } +/** + * @brief + * Handle closure and finalization of a web request associated with + * an unsuccessful "online" HTTP-based Internet reachability check. + * + * @param[in] result A pointer to the mutable web request + * result being finalized. + * @param[in,out] wp_context A pointer to the mutable WISPr portal + * detection context associated with the + * unsuccessful "online" HTTP-based + * Internet reachability check this is + * finalizing. + * @param[in] err The negated POSIX domain error + * associated with the unsuccessful + * "online" HTTP-based Internet + * reachability check. + * + * @sa wispr_portal_web_result + * @sa wispr_portal_web_result_no_err + * + * @private + * + */ static void wispr_portal_web_result_err(GWebResult *result, struct connman_wispr_portal_context *wp_context, int err) -- 2.45.0