1 /** 2 Exposes the C library stuff. 3 4 Only meant to be used internally. 5 */ 6 module dldap.c.ldap_int; 7 8 public import dldap.c.ldap_h; 9 10 import dldap.c.liblber.lber_int; 11 import dldap.c.lber_types; 12 import std.c.time; 13 14 nothrow: 15 extern(C): 16 17 // ldap-int.h:390 18 struct ldap_common; 19 20 // ldap-int.h:480 21 struct ldap; 22 23 // ldap-int.h:148 24 struct ldapmsg { 25 ber_int_t lm_msgid; /* the message id */ 26 ber_tag_t lm_msgtype; /* the message type */ 27 berelement *lm_ber; /* TODO: the ber encoded message contents */ 28 ldapmsg *lm_chain; /* for search - next msg in the resp */ 29 ldapmsg *lm_chain_tail; 30 ldapmsg *lm_next; /* next response */ 31 time_t lm_time; /* used to maintain cache */ 32 };