From: Julio Sánchez Fernández Date: Mon, 14 Jun 1999 11:57:02 +0000 (+0000) Subject: Constification X-Git-Tag: OPENLDAP_REL_ENG_2_BP~326 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e9e0e613b267e3374e8bbef31dcbf9d874f1e3e1;p=openldap Constification --- diff --git a/include/ldap_schema.h b/include/ldap_schema.h index 3068ce0fd9..4831946b4e 100644 --- a/include/ldap_schema.h +++ b/include/ldap_schema.h @@ -78,16 +78,51 @@ typedef struct ldap_objectclass { #define LDAP_SCHEMA_STRUCTURAL 1 #define LDAP_SCHEMA_AUXILIARY 2 -LDAP_F(void) ldap_syntax_free LDAP_P(( LDAP_SYNTAX * syn )); -LDAP_F(void) ldap_attributetype_free LDAP_P(( LDAP_ATTRIBUTE_TYPE * at )); -LDAP_F(void) ldap_objectclass_free LDAP_P(( LDAP_OBJECT_CLASS * oc )); -LDAP_F(LDAP_OBJECT_CLASS *) ldap_str2objectclass LDAP_P(( char * s, int * code, char ** errp )); -LDAP_F(LDAP_ATTRIBUTE_TYPE *) ldap_str2attributetype LDAP_P(( char * s, int * code, char ** errp )); -LDAP_F(LDAP_SYNTAX *) ldap_str2syntax LDAP_P(( char * s, int * code, char ** errp )); -LDAP_F( char *) ldap_objectclass2str LDAP_P(( LDAP_OBJECT_CLASS * oc )); -LDAP_F( char *) ldap_attributetype2str LDAP_P(( LDAP_ATTRIBUTE_TYPE * at )); -LDAP_F( char *) ldap_syntax2str LDAP_P(( LDAP_SYNTAX * syn )); -LDAP_F( char *) ldap_scherr2str LDAP_P(( int code )); +LDAP_F( void ) +ldap_syntax_free LDAP_P(( + LDAP_SYNTAX * syn )); + +LDAP_F( void ) +ldap_attributetype_free LDAP_P(( + LDAP_ATTRIBUTE_TYPE * at )); + +LDAP_F( void ) +ldap_objectclass_free LDAP_P(( + LDAP_OBJECT_CLASS * oc )); + +LDAP_F( LDAP_OBJECT_CLASS * ) +ldap_str2objectclass LDAP_P(( + LDAP_CONST char * s, + int * code, + LDAP_CONST char ** errp )); + +LDAP_F( LDAP_ATTRIBUTE_TYPE * ) +ldap_str2attributetype LDAP_P(( + LDAP_CONST char * s, + int * code, + LDAP_CONST char ** errp )); + +LDAP_F( LDAP_SYNTAX * ) +ldap_str2syntax LDAP_P(( + LDAP_CONST char * s, + int * code, + LDAP_CONST char ** errp )); + +LDAP_F( char *) +ldap_objectclass2str LDAP_P(( + LDAP_CONST LDAP_OBJECT_CLASS * oc )); + +LDAP_F( char *) +ldap_attributetype2str LDAP_P(( + LDAP_CONST LDAP_ATTRIBUTE_TYPE * at )); + +LDAP_F( char *) +ldap_syntax2str LDAP_P(( + LDAP_CONST LDAP_SYNTAX * syn )); + +LDAP_F( char *) +ldap_scherr2str LDAP_P(( + LDAP_CONST int code )); LDAP_END_DECL