diff --git a/c/scsh-ldap.h b/c/scsh-ldap.h index afc0b7a..101410f 100644 --- a/c/scsh-ldap.h +++ b/c/scsh-ldap.h @@ -41,6 +41,10 @@ FFIT_MAKE_ENTER_RECORD_PROTOTYPE(scsh_enter_ldapmod, LDAPMod*); ((LDAPMod *) \ s48_extract_integer(S48_RECORD_REF(x, 0))) +#define SCSH_LDAP_MOD_RECFIELD_OP 0 +#define SCSH_LDAP_MOD_RECFIELD_TYPE 1 +#define SCSH_LDAP_MOD_RECFIELD_MODS 2 + FFIT_MAKE_ENTER_RECORD_PROTOTYPE(scsh_enter_ldapapiinfo, LDAPAPIInfo*); #define scsh_extract_ldapapiinfo(x) \ ((LDAPAPIInfo *) \ @@ -108,5 +112,7 @@ s48_value scsh_ldap_add(s48_value, s48_value, s48_value); s48_value scsh_ldap_delete(s48_value, s48_value); s48_value scsh_ldap_abandon(s48_value, s48_value); s48_value scsh_ldap_get_set_option(s48_value, s48_value, s48_value, s48_value); -s48_value scsh_ldapmod_create(s48_value, s48_value, s48_value); +LDAPMod* scsh_create_ldapmod(s48_value ldapmod); +LDAPMod** scsh_extract_ldapmod_list(s48_value); +void scsh_free_ldapmod_array(LDAPMod **); void scsh_init_ldap_bindings(void);