Sha256: b478c84b2fbf2c90a202bc1a8da330800968e87ebe3fb02b63bc5566e4765d2b

Contents?: true

Size: 1.31 KB

Versions: 37

Compression:

Stored size: 1.31 KB

Contents

/* Copyright (c) 2016, Google Inc.
 *
 * Permission to use, copy, modify, and/or distribute this software for any
 * purpose with or without fee is hereby granted, provided that the above
 * copyright notice and this permission notice appear in all copies.
 *
 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
 * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */

#ifndef OPENSSL_HEADER_POOL_INTERNAL_H
#define OPENSSL_HEADER_POOL_INTERNAL_H

#include <openssl/lhash.h>
#include <openssl/thread.h>

#include "../lhash/internal.h"


#if defined(__cplusplus)
extern "C" {
#endif


DEFINE_LHASH_OF(CRYPTO_BUFFER)

struct crypto_buffer_st {
  CRYPTO_BUFFER_POOL *pool;
  uint8_t *data;
  size_t len;
  CRYPTO_refcount_t references;
  int data_is_static;
};

struct crypto_buffer_pool_st {
  LHASH_OF(CRYPTO_BUFFER) *bufs;
  CRYPTO_MUTEX lock;
};


#if defined(__cplusplus)
}  // extern C
#endif

#endif  // OPENSSL_HEADER_POOL_INTERNAL_H

Version data entries

37 entries across 37 versions & 3 rubygems

Version Path
grpc-1.53.2 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.53.1 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.52.2 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.53.0 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.53.0.pre2 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.52.0 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.51.0-x86_64-linux third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.51.0 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.52.0.pre2 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/third_party/boringssl-with-bazel/src/crypto/pool/internal.h
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/grpc-1.50.0-x86_64-linux/third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.50.0 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.50.0-x86_64-linux third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.50.0.pre1 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.50.0.pre1-x86_64-linux third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.49.1 third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.49.1-x86_64-linux third_party/boringssl-with-bazel/src/crypto/pool/internal.h
grpc-1.49.0.pre1 third_party/boringssl-with-bazel/src/crypto/pool/internal.h