- improved "stroke status" output

This commit is contained in:
Martin Willi
2006-04-26 12:28:02 +00:00
parent a2553ef8ad
commit b92eef2868
5 changed files with 114 additions and 28 deletions
+14
View File
@@ -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;
@@ -111,6 +112,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.
*