Classes | Functions | Variables
pair.c File Reference
#include <openssl/bio.h>
#include <assert.h>
#include <string.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "../internal.h"
Include dependency graph for pair.c:

Go to the source code of this file.

Classes

struct  bio_bio_st
 

Functions

static long bio_ctrl (BIO *bio, int cmd, long num, void *ptr)
 
size_t BIO_ctrl_get_read_request (BIO *bio)
 
size_t BIO_ctrl_get_write_guarantee (BIO *bio)
 
static void bio_destroy_pair (BIO *bio)
 
static int bio_free (BIO *bio)
 
static int bio_make_pair (BIO *bio1, BIO *bio2, size_t writebuf1_len, size_t writebuf2_len)
 
static int bio_new (BIO *bio)
 
int BIO_new_bio_pair (BIO **bio1_p, size_t writebuf1_len, BIO **bio2_p, size_t writebuf2_len)
 
static int bio_read (BIO *bio, char *buf, int size_)
 
static const BIO_METHODbio_s_bio (void)
 
int BIO_shutdown_wr (BIO *bio)
 
static int bio_write (BIO *bio, const char *buf, int num_)
 

Variables

static const BIO_METHOD methods_biop
 

Function Documentation

◆ bio_ctrl()

static long bio_ctrl ( BIO bio,
int  cmd,
long  num,
void *  ptr 
)
static

Definition at line 353 of file pair.c.

◆ BIO_ctrl_get_read_request()

size_t BIO_ctrl_get_read_request ( BIO bio)

Definition at line 473 of file pair.c.

◆ BIO_ctrl_get_write_guarantee()

size_t BIO_ctrl_get_write_guarantee ( BIO bio)

Definition at line 477 of file pair.c.

◆ bio_destroy_pair()

static void bio_destroy_pair ( BIO bio)
static

Definition at line 97 of file pair.c.

◆ bio_free()

static int bio_free ( BIO bio)
static

Definition at line 129 of file pair.c.

◆ bio_make_pair()

static int bio_make_pair ( BIO bio1,
BIO bio2,
size_t  writebuf1_len,
size_t  writebuf2_len 
)
static

Definition at line 299 of file pair.c.

◆ bio_new()

static int bio_new ( BIO bio)
static

Definition at line 83 of file pair.c.

◆ BIO_new_bio_pair()

int BIO_new_bio_pair ( BIO **  bio1_p,
size_t  writebuf1_len,
BIO **  bio2_p,
size_t  writebuf2_len 
)

Definition at line 455 of file pair.c.

◆ bio_read()

static int bio_read ( BIO bio,
char *  buf,
int  size_ 
)
static

Definition at line 144 of file pair.c.

◆ bio_s_bio()

static const BIO_METHOD* bio_s_bio ( void  )
static

Definition at line 453 of file pair.c.

◆ BIO_shutdown_wr()

int BIO_shutdown_wr ( BIO bio)

Definition at line 481 of file pair.c.

◆ bio_write()

static int bio_write ( BIO bio,
const char *  buf,
int  num_ 
)
static

Definition at line 227 of file pair.c.

Variable Documentation

◆ methods_biop

const BIO_METHOD methods_biop
static
Initial value:
= {
BIO_TYPE_BIO, "BIO pair", bio_write, bio_read, NULL ,
NULL , bio_ctrl, bio_new, bio_free, NULL ,
}

Definition at line 448 of file pair.c.

bio_free
static int bio_free(BIO *bio)
Definition: pair.c:129
bio_new
static int bio_new(BIO *bio)
Definition: pair.c:83
bio_write
static int bio_write(BIO *bio, const char *buf, int num_)
Definition: pair.c:227
BIO_TYPE_BIO
#define BIO_TYPE_BIO
Definition: bio.h:792
bio_ctrl
static long bio_ctrl(BIO *bio, int cmd, long num, void *ptr)
Definition: pair.c:353
bio_read
static int bio_read(BIO *bio, char *buf, int size_)
Definition: pair.c:144


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