+ added/changed prototypes for scsh_create_ldapmod(),

scsh_extract_ldapmod_list() and scsh_free_ldapmod_array()
+ added symbolic names for fields of ldap-modification records
This commit is contained in:
eknauel 2004-02-16 08:25:32 +00:00
parent 08c07cbc80
commit 29f82084b3
1 changed files with 7 additions and 1 deletions

View File

@ -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);