diff mbox series

[v2,09/60] service: Document 'online_check_active_set_value'.

Message ID 20231221064007.2347566-10-gerickson@nuovations.com (mailing list archive)
State Superseded
Headers show
Series Complete 'continuous' Online Check Mode Implementation. | expand

Commit Message

Grant Erickson Dec. 21, 2023, 6:39 a.m. UTC
This adds documentation to the 'online_check_active_set_value'
function.
---
 src/service.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/src/service.c b/src/service.c
index 0c1ed63c0ade..4238d81c7c0d 100644
--- a/src/service.c
+++ b/src/service.c
@@ -1748,6 +1748,28 @@  static bool online_check_is_active(const struct connman_service *service,
 	return active;
 }
 
+/**
+ *  @brief
+ *    Assign the "online" HTTP-based Internet reachability check
+ *    active state.
+ *
+ *  This assigns the "online" HTTP-based Internet reachability check
+ *  active state for the specified network service IP configuration
+ *  type.
+ *
+ *  @param[in,out]  service  A pointer to the mutable network service
+ *                           for which to assign the "online" HTTP-
+ *                           based Internet reachability active
+ *                           state.
+ *  @param[in]      type     The IP configuration type for which to
+ *                           assign the "online" HTTP-based Internet
+ *                           reachability active state.
+ *  @param[in]      active   The "online" HTTP-based Internet
+ *                           reachability active state to assign.
+ *
+ *  @sa online_check_is_active
+ *
+ */
 static void online_check_active_set_value(struct connman_service *service,
 		enum connman_ipconfig_type type,
 		bool active)