aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/qa/metadata_keys.hh
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-07 03:09:58 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-07 03:09:58 +0000
commit261d35f90f9680f5b3af418400957906ccfe498d (patch)
tree15fb433c1619cb489a027105e044a545f66f7172 /paludis/repositories/e/qa/metadata_keys.hh
parentf33acc94ef72bb4c0aebf79fe4393d4aa308f686 (diff)
downloadpaludis-261d35f90f9680f5b3af418400957906ccfe498d.tar.gz
paludis-261d35f90f9680f5b3af418400957906ccfe498d.tar.xz
Cope better with malformed metadata keys.
Diffstat (limited to 'paludis/repositories/e/qa/metadata_keys.hh')
-rw-r--r--paludis/repositories/e/qa/metadata_keys.hh41
1 files changed, 41 insertions, 0 deletions
diff --git a/paludis/repositories/e/qa/metadata_keys.hh b/paludis/repositories/e/qa/metadata_keys.hh
new file mode 100644
index 000000000..1291dd3c0
--- /dev/null
+++ b/paludis/repositories/e/qa/metadata_keys.hh
@@ -0,0 +1,41 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 2007 Ciaran McCreesh
+ * Copyright (c) 2008 David Leverton
+ *
+ * This file is part of the Paludis package manager. Paludis is free software;
+ * you can redistribute it and/or modify it under the terms of the GNU General
+ * Public License version 2, as published by the Free Software Foundation.
+ *
+ * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef PALUDIS_GUARD_PALUDIS_PALUDIS_REPOSITORIES_E_QA_METADATA_KEYS_HH
+#define PALUDIS_GUARD_PALUDIS_PALUDIS_REPOSITORIES_E_QA_METADATA_KEYS_HH 1
+
+#include <paludis/qa-fwd.hh>
+#include <paludis/package_id-fwd.hh>
+#include <paludis/util/attributes.hh>
+#include <paludis/util/fs_entry-fwd.hh>
+
+namespace paludis
+{
+ namespace erepository
+ {
+ bool metadata_keys_check(
+ const FSEntry &,
+ QAReporter &,
+ const tr1::shared_ptr<const PackageID> &,
+ const std::string &) PALUDIS_VISIBLE;
+ }
+}
+
+#endif