The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
null.h
Go to the documentation of this file.
1 #pragma once
2 /*
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
16  */
17 
18 /**
19  * $Id: edffc379cd407fe835f9f6fc342e877a4d06304d $
20  * @file lib/bio/null.h
21  * @brief BIO null handlers.
22  *
23  * @copyright 2024 Network RADIUS SAS (legal@networkradius.com)
24  */
25 RCSIDH(lib_bio_null_h, "$Id: edffc379cd407fe835f9f6fc342e877a4d06304d $")
26 
27 ssize_t fr_bio_null_read(fr_bio_t *bio, void *packet_ctx, void *buffer, size_t size);
28 ssize_t fr_bio_null_write(fr_bio_t *bio, void *packet_ctx, void const *buffer, size_t size);
29 
30 ssize_t fr_bio_fail_read(fr_bio_t *bio, void *packet_ctx, void *buffer, size_t size);
31 ssize_t fr_bio_fail_write(fr_bio_t *bio, void *packet_ctx, void const *buffer, size_t size);
static int const char char buffer[256]
Definition: acutest.h:574
Definition: base.h:112
#define RCSIDH(h, id)
Definition: build.h:482
long int ssize_t
Definition: merged_model.c:24
ssize_t fr_bio_null_read(fr_bio_t *bio, void *packet_ctx, void *buffer, size_t size)
ssize_t fr_bio_fail_read(fr_bio_t *bio, void *packet_ctx, void *buffer, size_t size)
ssize_t fr_bio_null_write(fr_bio_t *bio, void *packet_ctx, void const *buffer, size_t size)
ssize_t fr_bio_fail_write(fr_bio_t *bio, void *packet_ctx, void const *buffer, size_t size)