From: Graham B. <gb...@po...> - 2002-01-08 16:13:09
|
Attached is a proposed Schema.pm. It is far simpler internally than the previous one. Basically the methods that now exist are all_attributes all_objectclasses all_syntaxes all_matchingrules all_matchingruleuses all_ditstructurerules all_ditcontentrules all_nameforms Returns the elements for the requested type. attribute objectclass syntax matchingrule matchingruleuse ditstructurerule ditcontentrule nameform Takes a list of names/OIDs and returns the elements if they are of the requested type. Q: Should these accept a list or just one argument ? must may Takes a list of objectclass names/OIDs and returns the attribute elements that an entry of that type must/may have attribute_syntax Given an attribute name/OID returns the syntax element for the attribute. An element is a hash reference (could be made to be an object) Comments ? Graham. |