The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Functions
null.c File Reference

BIO NULL handlers. More...

#include <freeradius-devel/bio/bio_priv.h>
#include <freeradius-devel/bio/null.h>
+ Include dependency graph for null.c:

Go to the source code of this file.

Functions

ssize_t fr_bio_fail_read (UNUSED fr_bio_t *bio, UNUSED void *packet_ctx, UNUSED void *buffer, UNUSED size_t size)
 Always return error on read. More...
 
ssize_t fr_bio_fail_write (UNUSED fr_bio_t *bio, UNUSED void *packet_ctx, UNUSED void const *buffer, UNUSED size_t size)
 Always return 0 on write. More...
 
ssize_t fr_bio_null_read (UNUSED fr_bio_t *bio, UNUSED void *packet_ctx, UNUSED void *buffer, UNUSED size_t size)
 Always return 0 on read. More...
 
ssize_t fr_bio_null_write (UNUSED fr_bio_t *bio, UNUSED void *packet_ctx, UNUSED void const *buffer, UNUSED size_t size)
 Always return 0 on write. More...
 

Detailed Description

BIO NULL handlers.

Id
73db4d8652c37c30c73becbc6b086a6e1eb9f850

Definition in file null.c.

Function Documentation

◆ fr_bio_fail_read()

ssize_t fr_bio_fail_read ( UNUSED fr_bio_t bio,
UNUSED void *  packet_ctx,
UNUSED void *  buffer,
UNUSED size_t  size 
)

Always return error on read.

Definition at line 47 of file null.c.

+ Here is the caller graph for this function:

◆ fr_bio_fail_write()

ssize_t fr_bio_fail_write ( UNUSED fr_bio_t bio,
UNUSED void *  packet_ctx,
UNUSED void const *  buffer,
UNUSED size_t  size 
)

Always return 0 on write.

Definition at line 56 of file null.c.

+ Here is the caller graph for this function:

◆ fr_bio_null_read()

ssize_t fr_bio_null_read ( UNUSED fr_bio_t bio,
UNUSED void *  packet_ctx,
UNUSED void *  buffer,
UNUSED size_t  size 
)

Always return 0 on read.

Definition at line 31 of file null.c.

+ Here is the caller graph for this function:

◆ fr_bio_null_write()

ssize_t fr_bio_null_write ( UNUSED fr_bio_t bio,
UNUSED void *  packet_ctx,
UNUSED void const *  buffer,
UNUSED size_t  size 
)

Always return 0 on write.

Definition at line 39 of file null.c.

+ Here is the caller graph for this function: