summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_resolve.h
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-07-27 08:17:10 +0200
committerSage Weil <sage@inktank.com>2013-07-27 08:22:25 +0200
commita31356338b8ae55df59d829d9080ffad70b97d10 (patch)
tree9cb6a6db00c1bd095ec91f4ff48986558c029be0 /src/rgw/rgw_resolve.h
parentrgw: fix up signal handling (diff)
downloadceph-a31356338b8ae55df59d829d9080ffad70b97d10.tar.xz
ceph-a31356338b8ae55df59d829d9080ffad70b97d10.zip
rgw: free resolver on shutdown
Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'src/rgw/rgw_resolve.h')
-rw-r--r--src/rgw/rgw_resolve.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rgw/rgw_resolve.h b/src/rgw/rgw_resolve.h
index 164a31a0215..3b29ba580fe 100644
--- a/src/rgw/rgw_resolve.h
+++ b/src/rgw/rgw_resolve.h
@@ -8,14 +8,15 @@ class RGWDNSResolver;
class RGWResolver {
RGWDNSResolver *resolver;
- ~RGWResolver();
public:
+ ~RGWResolver();
RGWResolver();
int resolve_cname(const string& hostname, string& cname, bool *found);
};
extern void rgw_init_resolver(void);
+extern void rgw_shutdown_resolver(void);
extern RGWResolver *rgw_resolver;
#endif