Skip to content
Snippets Groups Projects
Commit 42705d59 authored by Jan Včelák's avatar Jan Včelák :rocket:
Browse files

[dnssec] dnssec_kasp_zone_get_name()

parent 069649da
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,11 @@ bool dnssec_kasp_key_is_active(dnssec_kasp_key_timing_t *timing, time_t at);
*/
bool dnssec_kasp_key_is_used(dnssec_kasp_key_timing_t *timing, time_t at);
/*!
* Get name of the zone.
*/
const char *dnssec_kasp_zone_get_name(dnssec_kasp_zone_t *zone);
/*!
* Get the set of keys associated with the zone.
*/
......
......@@ -128,7 +128,16 @@ bool dnssec_kasp_key_is_used(dnssec_kasp_key_timing_t *timing, time_t at)
}
/*!
* Get the set of keys associated with the zone.
* Get name of the zone.
*/
_public_
const char *dnssec_kasp_zone_get_name(dnssec_kasp_zone_t *zone)
{
return zone ? zone->name : NULL;
}
/*!
* Get name of the zone.
*/
_public_
dnssec_list_t *dnssec_kasp_zone_get_keys(dnssec_kasp_zone_t *zone)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment