From e4bf9b9cc584d5e0da573a142d00ce63f8d3eff9 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 27 May 2013 21:45:33 +0900 Subject: [PATCH] Implement DownloadResultDH::getOption()/getOptions() --- src/aria2api.cc | 39 ++++++++++++++++++++++++++------------ src/includes/aria2/aria2.h | 4 ---- 2 files changed, 27 insertions(+), 16 deletions(-) diff --git a/src/aria2api.cc b/src/aria2api.cc index 9b08089a..f295a6a1 100644 --- a/src/aria2api.cc +++ b/src/aria2api.cc @@ -661,6 +661,29 @@ void pushRequestOption } } // namespace +namespace { +const std::string& getRequestOption(const SharedHandle