From 2a4d0e3e898f1ee2395b5e83198d68a5e646a640 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 10 Dec 2010 15:34:52 -0500 Subject: Allow getting users opertype from XMLRPC requests --- include/opertype.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/opertype.h b/include/opertype.h index 40607b39f..b08e7643d 100644 --- a/include/opertype.h +++ b/include/opertype.h @@ -71,6 +71,16 @@ class CoreExport OperType * @param ot The opertype to inherit from */ void Inherits(OperType *ot); + + /** Gets the icommands for this opertype + * @return A list of commands + */ + const std::list &GetCommands() const; + + /** Gets the privileges for this opertype + * @return A list of privileges + */ + const std::list &GetPrivs() const; }; #endif // OPERTYPE_H -- cgit