summaryrefslogtreecommitdiffstats
path: root/crypto/crypto.h
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-06-18 16:14:18 +0000
committerBodo Möller <bodo@openssl.org>1999-06-18 16:14:18 +0000
commita111306bbce03363be353caafbb21d6e44c82692 (patch)
treef5f7a2d2f5ba58cd335b5e6fd9aa86505a2b2d7a /crypto/crypto.h
parent2de625408af26ef149ac4ff640e8f06ee416aaf9 (diff)
New function CRYPTO_num_locks.
Diffstat (limited to 'crypto/crypto.h')
-rw-r--r--crypto/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h
index 8297b7d0c7..1b927e189d 100644
--- a/crypto/crypto.h
+++ b/crypto/crypto.h
@@ -256,6 +256,8 @@ void CRYPTO_new_ex_data(STACK *meth, char *obj, CRYPTO_EX_DATA *ad);
int CRYPTO_mem_ctrl(int mode);
int CRYPTO_get_new_lockid(char *name);
+
+int CRYPTO_num_locks(void); /* return CRYPTO_NUM_LOCKS (shared libs!) */
void CRYPTO_lock(int mode, int type,const char *file,int line);
void CRYPTO_set_locking_callback(void (*func)(int mode,int type,
const char *file,int line));