diff options
author | Nathan Kinder <nkinder@redhat.com> | 2009-01-21 00:00:32 +0000 |
---|---|---|
committer | Nathan Kinder <nkinder@redhat.com> | 2009-01-21 00:00:32 +0000 |
commit | a23e607e3368f009e26f0e65e5ad8f34665da4f1 (patch) | |
tree | 6e9b5231b2e90b9a887fe32bd84bfbb7bb591e5d /ldap/servers/slapd/proto-slap.h | |
parent | b9a1fee404f818bbf1ce20452e199caf64e24855 (diff) | |
download | ds-a23e607e3368f009e26f0e65e5ad8f34665da4f1.tar.gz ds-a23e607e3368f009e26f0e65e5ad8f34665da4f1.tar.xz ds-a23e607e3368f009e26f0e65e5ad8f34665da4f1.zip |
Resolves: 474945
Summary: Consistently deal with attr syntax info struct ref count when fetcvhing and returning them to the global hashtables.
Diffstat (limited to 'ldap/servers/slapd/proto-slap.h')
-rw-r--r-- | ldap/servers/slapd/proto-slap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/servers/slapd/proto-slap.h b/ldap/servers/slapd/proto-slap.h index e088f7d1..4a8a2e08 100644 --- a/ldap/servers/slapd/proto-slap.h +++ b/ldap/servers/slapd/proto-slap.h @@ -76,7 +76,7 @@ int attr_check_minmax ( const char *attr_name, char *value, long minval, long ma void attrlist_free(Slapi_Attr *alist); int attrlist_find_or_create(Slapi_Attr **alist, const char *type, Slapi_Attr ***a); -int attrlist_find_or_create_locking_optional(Slapi_Attr **alist, const char *type, Slapi_Attr ***a, PRBool use_lock, PRBool ref_count); +int attrlist_find_or_create_locking_optional(Slapi_Attr **alist, const char *type, Slapi_Attr ***a, PRBool use_lock); void attrlist_merge( Slapi_Attr **alist, const char *type, struct berval **vals ); void attrlist_merge_valuearray( Slapi_Attr **alist, const char *type, Slapi_Value **vals ); int attrlist_delete( Slapi_Attr **attrs, const char *type ); @@ -110,7 +110,7 @@ void attr_syntax_all_clear_flag( unsigned long flag ); void attr_syntax_delete_all_not_flagged( unsigned long flag ); struct asyntaxinfo *attr_syntax_get_by_oid ( const char *oid ); struct asyntaxinfo *attr_syntax_get_by_name ( const char *name ); -struct asyntaxinfo *attr_syntax_get_by_name_locking_optional ( const char *name, PRBool use_lock, PRBool ref_count ); +struct asyntaxinfo *attr_syntax_get_by_name_locking_optional ( const char *name, PRBool use_lock ); /* * Call attr_syntax_return() when you are done using a value returned * by attr_syntax_get_by_oid() or attr_syntax_get_by_name(). |