diff options
author | Martin Willi <martin@strongswan.org> | 2006-04-26 12:28:02 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2006-04-26 12:28:02 +0000 |
commit | b92eef2868d989b3fe820c5b0dfa7380cf8deb35 (patch) | |
tree | f8ef103a429525cdaf2fbf0d0b1b75724847f282 /Source/charon/sa/child_sa.h | |
parent | a2553ef8adc7f3c9c66432f213a49673fd6840c3 (diff) | |
download | strongswan-b92eef2868d989b3fe820c5b0dfa7380cf8deb35.tar.bz2 strongswan-b92eef2868d989b3fe820c5b0dfa7380cf8deb35.tar.xz |
- improved "stroke status" output
Diffstat (limited to 'Source/charon/sa/child_sa.h')
-rw-r--r-- | Source/charon/sa/child_sa.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Source/charon/sa/child_sa.h b/Source/charon/sa/child_sa.h index 96978dae3..c49d85de9 100644 --- a/Source/charon/sa/child_sa.h +++ b/Source/charon/sa/child_sa.h @@ -27,6 +27,7 @@ #include <types.h> #include <crypto/prf_plus.h> #include <encoding/payloads/proposal_substructure.h> +#include <utils/logger.h> typedef struct child_sa_t child_sa_t; @@ -112,6 +113,19 @@ struct child_sa_t { status_t (*add_policies) (child_sa_t *this, linked_list_t *my_ts_list, linked_list_t *other_ts_list); /** + * @brief Log the status of a child_sa to a logger. + * + * The status of ESP/AH SAs is logged with the supplied logger in + * a human readable form. + * Supplying NULL as logger uses the internal child_sa logger + * to do the logging. + * + * @param this calling object + * @param logger logger to use for logging + */ + void (*log_status) (child_sa_t *this, logger_t *logger); + + /** * @brief Destroys a child_sa. * * @param this calling object |