aboutsummaryrefslogtreecommitdiff
path: root/bpkg/types-parsers.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-10-08 23:01:16 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-10 23:54:18 +0300
commit61349dcf5fbfeab888ea345ebec3d887777a2782 (patch)
tree958d7f34185d987b21ae24ad137b7a2e0a1593ec /bpkg/types-parsers.hxx
parenteb58dc7c9ec9877c645585b7fb163d2bcc251b5d (diff)
Add support for openssl qualified options
Diffstat (limited to 'bpkg/types-parsers.hxx')
-rw-r--r--bpkg/types-parsers.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/bpkg/types-parsers.hxx b/bpkg/types-parsers.hxx
index 3425e9d..24cc92d 100644
--- a/bpkg/types-parsers.hxx
+++ b/bpkg/types-parsers.hxx
@@ -46,7 +46,16 @@ namespace bpkg
static void
parse (repository_type&, bool&, scanner&);
};
+
+ template <const char* Q[], typename V>
+ struct parser<qualified_option<Q, V>>
+ {
+ static void
+ parse (qualified_option<Q, V>&, bool&, scanner&);
+ };
}
}
+#include <bpkg/types-parsers.txx>
+
#endif // BPKG_TYPES_PARSERS_HXX