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

BIO abstractions for file descriptors. More...

#include <freeradius-devel/util/debug.h>
#include <freeradius-devel/bio/buf.h>
+ Include dependency graph for buf.c:

Go to the source code of this file.

Functions

int fr_bio_buf_alloc (TALLOC_CTX *ctx, fr_bio_buf_t *bio_buf, size_t size)
 
size_t fr_bio_buf_make_room (fr_bio_buf_t *bio_buf)
 
size_t fr_bio_buf_read (fr_bio_buf_t *bio_buf, void *buffer, size_t size)
 
ssize_t fr_bio_buf_write (fr_bio_buf_t *bio_buf, const void *buffer, size_t size)
 

Detailed Description

BIO abstractions for file descriptors.

Id
652f82e254f00e2df041b0e1488de7551d54becb

Definition in file buf.c.

Function Documentation

◆ fr_bio_buf_alloc()

int fr_bio_buf_alloc ( TALLOC_CTX *  ctx,
fr_bio_buf_t bio_buf,
size_t  size 
)

Definition at line 114 of file buf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_bio_buf_make_room()

size_t fr_bio_buf_make_room ( fr_bio_buf_t bio_buf)

Definition at line 28 of file buf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_bio_buf_read()

size_t fr_bio_buf_read ( fr_bio_buf_t bio_buf,
void *  buffer,
size_t  size 
)

Definition at line 45 of file buf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fr_bio_buf_write()

ssize_t fr_bio_buf_write ( fr_bio_buf_t bio_buf,
const void *  buffer,
size_t  size 
)

Definition at line 81 of file buf.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: