[PATCH v3 15/18] wispr: Document 'wispr_portal_web_result_failure'.
Grant Erickson <[email protected]> Thu, 20 Mar 2025 16:39:06 -0700
| Newsgroups | dev.linux.lists.connman |
|---|---|
| Message-ID | <515ee111d4ece4434b46d50492720b7925b74b50.1742513884.git.gerickson@nuovations.com> |
Add documentation to the 'wispr_portal_web_result_failure' function. --- src/wispr.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/src/wispr.c b/src/wispr.c index 3f42e131608f..76a7ba219921 100644 --- a/src/wispr.c +++ b/src/wispr.c @@ -657,7 +657,7 @@ static void wispr_portal_error(struct connman_wispr_portal_context *wp_context) * reason for the online check failure. * * @sa portal_manage_success_status - * @sa wispr_portal_web_result_no_err + * @sa wispr_portal_web_result_failure * @sa wispr_portal_web_result_err * @sa wispr_portal_web_result * @@ -1007,6 +1007,28 @@ 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] error A pointer to the immutable GLib GError + * instance associated the web request + * failure. + * @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. + * + * @sa wispr_portal_web_result + * @sa wispr_portal_web_result_no_err + * + * @private + * + */ static void wispr_portal_web_result_failure(const GError *error, GWebResult *result, struct connman_wispr_portal_context *wp_context) -- 2.45.0