Add atomic write call
[openssl.git] / include / openssl / crypto.h
index a9f080d53ccc420686ccff66d19dab32cfc19219..c2aa07c98d49d96caafa9b53e7b8bc2f8a2191e0 100644 (file)
@@ -75,6 +75,7 @@ void CRYPTO_THREAD_lock_free(CRYPTO_RWLOCK *lock);
 
 int CRYPTO_atomic_add(int *val, int amount, int *ret, CRYPTO_RWLOCK *lock);
 int CRYPTO_atomic_read(int *val, int *ret, CRYPTO_RWLOCK *lock);
+int CRYPTO_atomic_write(int *val, int n, CRYPTO_RWLOCK *lock);
 
 /*
  * The following can be used to detect memory leaks in the library. If