Module: kamailio Branch: 5.7 Commit: f654b9c1943be6816827f9048627a7c8a7fe50f6 URL: https://github.com/kamailio/kamailio/commit/f654b9c1943be6816827f9048627a7c8...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2024-03-20T13:26:43+01:00
keepalive: small formatting updates and comments to the ka dest structure
(cherry picked from commit cee82c92b06a026b88fea654944f6146eb5cb4d8) (cherry picked from commit a7d4ce95b383dc26c547ef9ee07b05d51abc50f9)
---
Modified: src/modules/keepalive/keepalive.h
---
Diff: https://github.com/kamailio/kamailio/commit/f654b9c1943be6816827f9048627a7c8... Patch: https://github.com/kamailio/kamailio/commit/f654b9c1943be6816827f9048627a7c8...
---
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;