aboutsummaryrefslogtreecommitdiff
path: root/bpkg/types-parsers
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-04-14 17:59:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-05-04 20:47:45 +0300
commitb13332c991ce2695626eaca367dd8208b174c9ca (patch)
tree809dc321b47d5ef9c72935637f94bf5b84ed640d /bpkg/types-parsers
parentc9831f760a83e36a3a2ac84b1bd3f573e47ef195 (diff)
Add support for repository authentication
Diffstat (limited to 'bpkg/types-parsers')
-rw-r--r--bpkg/types-parsers8
1 files changed, 8 insertions, 0 deletions
diff --git a/bpkg/types-parsers b/bpkg/types-parsers
index 41046a1..41fab10 100644
--- a/bpkg/types-parsers
+++ b/bpkg/types-parsers
@@ -9,6 +9,7 @@
#define BPKG_TYPES_PARSERS
#include <bpkg/types>
+#include <bpkg/options-types>
namespace bpkg
{
@@ -32,6 +33,13 @@ namespace bpkg
static void
parse (dir_path&, bool&, scanner&);
};
+
+ template <>
+ struct parser<auth>
+ {
+ static void
+ parse (auth&, bool&, scanner&);
+ };
}
}