Terminology and return value of get_lifetime of child_sa_t corrected.

This commit is contained in:
Tobias Brunner
2009-09-01 12:53:44 +02:00
parent cb123493d1
commit e3c7e72973
2 changed files with 5 additions and 5 deletions
+3 -3
View File
@@ -229,12 +229,12 @@ struct child_sa_t {
bool (*has_encap)(child_sa_t *this);
/**
* Get the lifetime of the CHILD_SA.
* Get the absolute time when the CHILD_SA expires or gets rekeyed.
*
* @param hard TRUE for hard lifetime, FALSE for soft (rekey) lifetime
* @return lifetime in seconds
* @return absolute time
*/
u_int32_t (*get_lifetime)(child_sa_t *this, bool hard);
time_t (*get_lifetime)(child_sa_t *this, bool hard);
/**
* Get last use time and the number of bytes processed.