extern char *ldap_uid_attr;
struct ldap_pref {
- void *pref;
+ const void *pref;
char *name;
int strorint; /* string to just store in char * or convert to int ? */
int intfromarray; /* convert to int, but use string to int mapping array pref_array[] */
};
struct pref_array {
- char *pref; /* name of pref from ldap_prefs[] to which this value corresponds */
+ const char *pref; /* name of pref from ldap_prefs[] to which this value corresponds */
char *valuestring; /* config string */
int value; /* corresponding value */
};