Module: kamailio
Branch: master
Commit: cee82c92b06a026b88fea654944f6146eb5cb4d8
URL: 
https://github.com/kamailio/kamailio/commit/cee82c92b06a026b88fea654944f6146eb5cb4d8

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2024-03-19T10:21:51+01:00

keepalive: small formatting updates and comments to the ka dest structure

---

Modified: src/modules/keepalive/keepalive.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/cee82c92b06a026b88fea654944f6146eb5cb4d8.diff
Patch: 
https://github.com/kamailio/kamailio/commit/cee82c92b06a026b88fea654944f6146eb5cb4d8.patch

---

diff --git a/src/modules/keepalive/keepalive.h 
b/src/modules/keepalive/keepalive.h
index d5a8fcb2197..5ca1ce3561d 100644
--- a/src/modules/keepalive/keepalive.h
+++ b/src/modules/keepalive/keepalive.h
@@ -69,13 +69,15 @@ typedef struct _ka_initial_dest
 typedef struct _ka_dest
 {
        str uri;
-       str owner; // name of destination "owner"
-                          // (module asking to monitor this destination
-       str uuid;  // Universal id for this record
+       str owner; /*!< Name of destination "owner" */
+                          /*!< Module asking to monitor this destination */
+       str uuid;  /*!< Universal id for this record */
        int flags;
        int state;
-       time_t last_checked, last_up, last_down;
-       int counter;               // counts unreachable attempts
+       time_t last_checked;
+       time_t last_up;            /*!< Time of last successful SIP reply */
+       time_t last_down;          /*!< Time of last failure SIP reply */
+       int counter;               /*!< Counts unreachable attempts */
        ticks_t ping_interval; /*!< Actual interval between OPTIONS  */
 
        void *user_attr;

_______________________________________________
Kamailio (SER) - Development Mailing List
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org

Reply via email to