summaryrefslogtreecommitdiffstats
path: root/control/matches.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'control/matches.hpp')
-rw-r--r--control/matches.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/control/matches.hpp b/control/matches.hpp
index 855a749..ccacbc4 100644
--- a/control/matches.hpp
+++ b/control/matches.hpp
@@ -47,6 +47,20 @@ inline auto interfacesAdded(const std::string& obj)
}
/**
+ * @brief A match function that constructs an InterfacesRemoved match string
+ * @details Constructs an InterfacesRemoved match string with a given object
+ * path
+ *
+ * @param[in] obj - Object's path name
+ *
+ * @return - An InterfacesRemoved match string
+ */
+inline auto interfacesRemoved(const std::string& obj)
+{
+ return rules::interfacesRemoved(obj);
+}
+
+/**
* @brief A match function that constructs a NameOwnerChanged match string
* @details Constructs a NameOwnerChanged match string with a given object
* path and interface
OpenPOWER on IntegriCloud