Skip to content

Commit

Permalink
add rdn-mixin class and rdn generic
Browse files Browse the repository at this point in the history
  • Loading branch information
nixeagle committed Jan 22, 2010
1 parent 9a85284 commit e177703
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ldap.lisp
Expand Up @@ -97,10 +97,20 @@
`base' in ldap speak is the same meaning as pwd in a shell."))

(defgeneric rdn (ldap-object)
(:documentation "Return the rdn of the LDAP-OBJECT.
`rdn' is roughly equivalent to a filename in *nisp. They are unique to
the `base' they are in."))

(defclass base-mixin ()
()
(:documentation "LDAP objects where the concept of `base' makes sense."))

(defclass rdn-mixin ()
()
(:documentation "LDAP objects where `rdn' makes sense."))

(defclass abstract-base ()
((base :type (or string abstract-base)
:reader base
Expand Down

0 comments on commit e177703

Please sign in to comment.