aboutsummaryrefslogtreecommitdiff
path: root/bpkg/manifest-utility
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-08-19 17:37:29 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2016-08-29 18:20:03 +0300
commit53c2aa8e382dd50d09b385285bc3fa0b645ace0a (patch)
tree6d23d091bc57c0aa8d8a529e63ec2f2f22322a3a /bpkg/manifest-utility
parenta4b29effed15b0a3e9309a4633a3ada37f3081e6 (diff)
Support system packages
Diffstat (limited to 'bpkg/manifest-utility')
-rw-r--r--bpkg/manifest-utility14
1 files changed, 14 insertions, 0 deletions
diff --git a/bpkg/manifest-utility b/bpkg/manifest-utility
index f956ea9..9b1b3ee 100644
--- a/bpkg/manifest-utility
+++ b/bpkg/manifest-utility
@@ -12,6 +12,20 @@
namespace bpkg
{
+ // Package naming schemes.
+ //
+ enum class package_scheme
+ {
+ none,
+ sys
+ };
+
+ // Extract scheme from [<scheme>:]<package>. Position the pointer right after
+ // the scheme end if present, otherwise leave unchanged.
+ //
+ package_scheme
+ parse_package_scheme (const char*&);
+
// Extract name and version components from <name>[/<version>].
//
string