~zyga/checkbox/better-qualifiers

Viewing all changes in revision 2749.

  • Committer: Zygmunt Krynicki
  • Date: 2014-03-05 13:35:28 UTC
  • Revision ID: zygmunt.krynicki@canonical.com-20140305133528-fmdzstq6obxnj9cz
plainbox:secure:qualifiers: add IMatcher

This patch adds a new interface for qualifier implementations. IMatcher
is a simple wrapper for a function returning a boolean. It is expected
that various kinds of matchers can be implemented for specific purposes
but they all need to follow this interface.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: