]> git.saurik.com Git - apple/security.git/blobdiff - OSX/utilities/SecDbInternal.h
Security-59754.41.1.tar.gz
[apple/security.git] / OSX / utilities / SecDbInternal.h
diff --git a/OSX/utilities/SecDbInternal.h b/OSX/utilities/SecDbInternal.h
new file mode 100644 (file)
index 0000000..15a5ef2
--- /dev/null
@@ -0,0 +1,14 @@
+#ifndef SecDbInternal_h
+#define SecDbInternal_h
+
+#include "SecDb.h"
+
+static const size_t kSecDbMaxReaders = 5;
+
+// Do not increase this without changing lock types in SecDb
+static const size_t kSecDbMaxWriters = 1;
+
+// maxreaders + maxwriters
+static const size_t kSecDbMaxIdleHandles = 6;
+
+#endif /* SecDbInternal_h */