mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-13 15:54:04 -05:00
protos and declarations for charray and rdn stuff
This commit is contained in:
parent
38ce12a6f6
commit
bff5608926
2 changed files with 7 additions and 1 deletions
|
|
@ -239,11 +239,15 @@ LDAP_SLAPD_F (void) ch_free LDAP_P(( void * ));
|
|||
*/
|
||||
|
||||
LDAP_SLAPD_F (void) charray_add LDAP_P(( char ***a, const char *s ));
|
||||
LDAP_SLAPD_F (void) charray_add_n LDAP_P(( char ***a, const char *s, int l ));
|
||||
LDAP_SLAPD_F (void) charray_merge LDAP_P(( char ***a, char **s ));
|
||||
LDAP_SLAPD_F (void) charray_free LDAP_P(( char **array ));
|
||||
LDAP_SLAPD_F (int) charray_inlist LDAP_P(( char **a, const char *s ));
|
||||
LDAP_SLAPD_F (char **) charray_dup LDAP_P(( char **a ));
|
||||
LDAP_SLAPD_F (char **) str2charray LDAP_P(( const char *str, const char *brkstr ));
|
||||
LDAP_SLAPD_F (int) charray_strcmp LDAP_P(( const char **a1, const char **a2 ));
|
||||
LDAP_SLAPD_F (int) charray_strcasecmp LDAP_P(( const char **a1, const char **a2 ));
|
||||
|
||||
|
||||
/*
|
||||
* controls.c
|
||||
|
|
@ -318,6 +322,7 @@ LDAP_SLAPD_F (int) dn_issuffix LDAP_P(( const char *dn, const char *suffix ));
|
|||
LDAP_SLAPD_F (int) rdn_validate LDAP_P(( const char* str ));
|
||||
LDAP_SLAPD_F (char *) rdn_attr_value LDAP_P(( const char * rdn ));
|
||||
LDAP_SLAPD_F (char *) rdn_attr_type LDAP_P(( const char * rdn ));
|
||||
LDAP_SLAPD_F (int) rdn_attrs LDAP_P(( const char * rdn, char ***ptypes, char ***pvals ));
|
||||
|
||||
LDAP_SLAPD_F (void) build_new_dn LDAP_P(( char ** new_dn,
|
||||
const char *e_dn,
|
||||
|
|
|
|||
|
|
@ -87,7 +87,8 @@ LDAP_BEGIN_DECL
|
|||
|| (c) == '(' || (c) == ')' || !ASCII_PRINTABLE(c) )
|
||||
|
||||
#define DN_SEPARATOR(c) ((c) == ',' || (c) == ';')
|
||||
#define RDN_SEPARATOR(c) ((c) == ',' || (c) == ';' || (c) == '+')
|
||||
#define RDN_ATTRTYPEANDVALUE_SEPARATOR(c) ((c) == '+') /* RFC 2253 */
|
||||
#define RDN_SEPARATOR(c) (DN_SEPARATOR(c) || RDN_ATTRTYPEANDVALUE_SEPARATOR(c))
|
||||
#define RDN_NEEDSESCAPE(c) ((c) == '\\' || (c) == '"')
|
||||
|
||||
#define DESC_LEADCHAR(c) ( ASCII_ALPHA(c) )
|
||||
|
|
|
|||
Loading…
Reference in a new issue