aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/store/store.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-06-12 21:32:54 +0000
committerRichard Levitte <levitte@openssl.org>2003-06-12 21:32:54 +0000
commitb52d512dfa04ec44cb58ec1efa6a230a4693b0b0 (patch)
tree87145b4dc595581cb7c41a68ee238237ba84029e /crypto/store/store.h
parenta3a2ff4cd9ada10effaa514af90c7638ab0e9824 (diff)
downloadopenssl-b52d512dfa04ec44cb58ec1efa6a230a4693b0b0.tar.gz
Slightly better check of attributes. Now, mem_list_next can actually stop when the searched for key doesn't have it's attributes within the range of the checked key.
Diffstat (limited to 'crypto/store/store.h')
-rw-r--r--crypto/store/store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/store/store.h b/crypto/store/store.h
index c1cbb399f9..e82aa3edd8 100644
--- a/crypto/store/store.h
+++ b/crypto/store/store.h
@@ -411,6 +411,9 @@ int STORE_ATTR_INFO_modify_number(STORE_ATTR_INFO *attrs, STORE_ATTR_TYPES code,
/* Compare on basis of a bit pattern formed by the STORE_ATTR_TYPES values
in each contained attribute. */
int STORE_ATTR_INFO_compare(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b);
+/* Check if the set of attributes in a is within the range of attributes
+ set in b. */
+int STORE_ATTR_INFO_in_range(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b);
/* Check if the set of attributes in a are also set in b. */
int STORE_ATTR_INFO_in(STORE_ATTR_INFO *a, STORE_ATTR_INFO *b);
/* Same as STORE_ATTR_INFO_in(), but also checks the attribute values. */