Functions | Variables
refcount_lock.c File Reference
#include "internal.h"
#include <stdlib.h>
#include <openssl/type_check.h>
Include dependency graph for refcount_lock.c:

Go to the source code of this file.

Functions

int CRYPTO_refcount_dec_and_test_zero (CRYPTO_refcount_t *count)
 
void CRYPTO_refcount_inc (CRYPTO_refcount_t *count)
 
 OPENSSL_STATIC_ASSERT ((CRYPTO_refcount_t) -1==CRYPTO_REFCOUNT_MAX, "CRYPTO_REFCOUNT_MAX is incorrect")
 

Variables

static struct CRYPTO_STATIC_MUTEX g_refcount_lock = CRYPTO_STATIC_MUTEX_INIT
 

Function Documentation

◆ CRYPTO_refcount_dec_and_test_zero()

int CRYPTO_refcount_dec_and_test_zero ( CRYPTO_refcount_t count)

Definition at line 37 of file refcount_lock.c.

◆ CRYPTO_refcount_inc()

void CRYPTO_refcount_inc ( CRYPTO_refcount_t count)

Definition at line 29 of file refcount_lock.c.

◆ OPENSSL_STATIC_ASSERT()

OPENSSL_STATIC_ASSERT ( (CRYPTO_refcount_t) -  1 = =CRYPTO_REFCOUNT_MAX,
"CRYPTO_REFCOUNT_MAX is incorrect"   
)

Variable Documentation

◆ g_refcount_lock

struct CRYPTO_STATIC_MUTEX g_refcount_lock = CRYPTO_STATIC_MUTEX_INIT
static

Definition at line 27 of file refcount_lock.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:27