eknauel
e236fbaec4
A try to fix automatic memory handling for LDAP structures.
...
- free ldap-messages of type result
- free ldap-messages of type entry if and only if ldap_first_entry()
converted from a result into an entry
- don't free ldap-messages of type entry
- entries depend on results, so don't free result before entries
derived from it
2004-02-14 15:37:55 +00:00
eknauel
55f238280a
many GC-related changes. Use weak table to avoid creating a second
...
scheme object for the same ldap object. Works partially.
2004-02-13 17:04:30 +00:00
eknauel
cd2e6cff48
got rid of some record types: ldap-entry ldap-result. It makes no
...
sense to put diffrent types of ldap-messages (they all live in a
single type LDAPMessage on the evil C side) in appropriate records
since the type of a ldap-message keeps changing in an unpredictable
way. Use the API call ldap-message-type instead.
2004-02-13 16:58:37 +00:00
eknauel
7203d9d9f8
weak tables with weak value
2004-02-13 16:53:40 +00:00
eknauel
da9ad48831
new module structure
2004-02-13 16:52:43 +00:00
eknauel
c015769f74
The big "ldap-session as fluid"-surgery
2004-02-13 10:06:15 +00:00
eknauel
4e107b0a11
* scheme/types.scm (ldap-session=?): new function
...
(ldap-message=?): ditto
(ldap-entry=?): ditto
2004-02-13 10:05:37 +00:00
eknauel
fcf3a94b1c
(ldap-get-values): if ldap_get_values() returns NULL, that's not
...
necessarily an error
(ldap-entry-dn): renamed ldap-message-dn to ldap-entry-dn
2004-02-12 15:49:18 +00:00
eknauel
a2709c19b9
* scheme/interfaces.scm (ldap-low-interface): renamed
...
ldap-message-dn to ldap-entry-dn
2004-02-12 15:48:58 +00:00
eknauel
a312de7a51
* scheme/ldap.scm (ldap-get-values): unpack ldap-entry
...
(ldap-count-entries): ditto
(ldap-first-entry): ditto
(ldap-next-entry): ditto
2004-02-12 14:29:02 +00:00
eknauel
eaa1186718
* scheme/interfaces.scm (ldap-handle-types-interface): export
...
set-ldap-session-messages!
2004-02-12 12:45:00 +00:00
eknauel
e27edaaed3
* scheme/ldap.scm (ldap-search): unpack finite type before calling
...
C code
(ldap-search): make return value of type ldap-entry
(ldap-get-error-return-object): convert code to finite type
(ldap-first-attribute): unwrap ldap-entry
(ldap-next-attribute session): unwrap ldap-entry
* scheme/ldap.scm (ldap-init): Set initial value for
ldap-session-messages
2004-02-12 12:44:46 +00:00
eknauel
2c206b2023
* scheme/types.scm (ldap-entry): new type
2004-02-12 12:44:14 +00:00
eknauel
82ab0f41ba
* scheme/packages.scm (ldap-low): added srfi-13
2004-02-11 16:18:32 +00:00
eknauel
57d92f2a93
* scheme/interfaces.scm (ldap-low-interface): added
...
ldap-simple-bind-as-nobody to exports
2004-02-11 16:17:08 +00:00
eknauel
f3a509e5a7
* scheme/ldap.scm (ldap-init): make port optional argument,
...
accept list of hosts as argument.
(ldap-simple-bind-as-nobody): new function
2004-02-11 16:16:03 +00:00
eknauel
e142fab52a
+ fixed wrong quoted alist of conditions
2004-02-11 16:12:36 +00:00
eknauel
d25f445ed2
+ call generate-c-define-exported-bindings-function
2004-02-11 12:45:29 +00:00
eknauel
02f0884023
Lots of functions missing in various interfaces
2004-02-10 15:28:34 +00:00
eknauel
ab999a75c5
build const-gen.scm
2004-02-10 10:02:23 +00:00
eknauel
c6005605d2
use the scsh packaging proposal
2004-02-09 13:55:35 +00:00
eknauel
feae1fa4a9
Lots of changes to fix structure ldap-types and ldap-condtions
2004-01-15 16:34:15 +00:00
eknauel
33d3c4d498
+ added Scheme representation for BerElement
2004-01-14 09:12:47 +00:00
eknauel
fc392a2a41
+ added message type constants
2004-01-14 09:08:50 +00:00
eknauel
82e66e882b
+ renamed ldap-records.scm -> types.scm
2004-01-08 07:49:17 +00:00
eknauel
e8d54a6390
+ error handling
2004-01-08 07:45:28 +00:00
eknauel
c25ef694b2
+ added: ldap-scope-arguments, ldap-attribute-selectors, ldap-session-options
2004-01-08 07:44:15 +00:00
eknauel
5b9e04b8d0
+ condition hierachy for ldap
2004-01-08 07:43:13 +00:00
eknauel
613987fbcf
+ renamed ldap-interfaces.scm -> interfaces.scm, ldap-packages.scm ->
...
packages.scm
+ various changes
2004-01-08 07:42:22 +00:00
eknauel
273b96373b
+ make bindings fit to API described as in the LDAP C API draft
...
+ use automake for building an external module
+ tools for importing c constants
+ numerous changes
2003-12-31 15:40:26 +00:00
eknauel
38f6c8515f
Bindings for ldap_search and stuff like that
2003-11-16 08:35:08 +00:00
eknauel
dda50cdfbe
+ more infrastructure
2003-10-28 16:52:37 +00:00
eknauel
a25a3daae0
*** empty log message ***
2003-10-28 15:27:54 +00:00