diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-06-10 20:40:30 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-06-10 23:26:53 +0200 |
commit | ba35662fbdde7b90aed6b34c641b4ff0ea740c68 (patch) | |
tree | 629a714cb284584cc0132fe9d1f1f89e88e55ed0 /src/resolve/resolved-manager.h | |
parent | 2c7284a9a966a7790cb260e89428db5bb2020eef (diff) |
resolved: also add a way to flush all caches via the bus
And expose it in "resolve-tool --flush-caches".
Diffstat (limited to 'src/resolve/resolved-manager.h')
-rw-r--r-- | src/resolve/resolved-manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.h b/src/resolve/resolved-manager.h index 97f75ace79..ef71202ef9 100644 --- a/src/resolve/resolved-manager.h +++ b/src/resolve/resolved-manager.h @@ -170,3 +170,5 @@ bool manager_dnssec_supported(Manager *m); void manager_dnssec_verdict(Manager *m, DnssecVerdict verdict, const DnsResourceKey *key); bool manager_routable(Manager *m, int family); + +void manager_flush_caches(Manager *m); |