diff options
Diffstat (limited to 'src/libcharon/plugins/ha/ha_segments.h')
-rw-r--r-- | src/libcharon/plugins/ha/ha_segments.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libcharon/plugins/ha/ha_segments.h b/src/libcharon/plugins/ha/ha_segments.h index 1699f7b0d..eb9e5c1d5 100644 --- a/src/libcharon/plugins/ha/ha_segments.h +++ b/src/libcharon/plugins/ha/ha_segments.h @@ -75,6 +75,14 @@ struct ha_segments_t { void (*handle_status)(ha_segments_t *this, segment_mask_t mask); /** + * Check if a given segment is currently active. + * + * @param segment segment to check + * @return TRUE if segment active + */ + bool (*is_active)(ha_segments_t *this, u_int segment); + + /** * Destroy a ha_segments_t. */ void (*destroy)(ha_segments_t *this); |