Changeset 33996 in project


Ignore:
Timestamp:
04/19/17 13:56:31 (4 months ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [176.52.204.58]: Add missing procedures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/ldir-sexpr

    r33995 r33996  
    88
    99== API
     10
     11<procedure>(ldif-dn LDIF]) -> *</procedure>
     12
     13Returns the distinguished name (as S-expression) from LDIF object.
     14
     15<procedure>(ldif-attributes LDIF]) -> *</procedure>
     16
     17Returns the attributes (as list of S-expression) from LDIF object.
    1018
    1119<procedure>(read [PORT])</procedure>
     
    3644
    3745<enscript>
     46(use (prefix ldif-sexpr ldif:))
     47
     48(assert (equal? (ldif:ldif-attributes (with-input-from-string "dn: CN=foobar\nfoo: bar" ldif:read))
     49         '(("foo" "bar"))))
     50
     51
    3852(assert (equal? (ldif:ldap-filter-string
    3953                 '(and (exists name) (= foo "bar")))
Note: See TracChangeset for help on using the changeset viewer.