The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
pipe.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: 1e042600f4777ea19d4c83674a45ec61c7ab75d6 $
20  * @file lib/bio/pipe.h
21  * @brief BIO pipe handlers.
22  *
23  * @copyright 2024 Network RADIUS SAS (legal@networkradius.com)
24  */
25 RCSIDH(lib_bio_pipe_h, "$Id: 1e042600f4777ea19d4c83674a45ec61c7ab75d6 $")
26 
27 typedef struct {
31 
32 fr_bio_t *fr_bio_pipe_alloc(TALLOC_CTX *ctx, fr_bio_pipe_cb_funcs_t *cb, size_t buffer_size) CC_HINT(nonnull);
void(* fr_bio_callback_t)(fr_bio_t *bio)
Definition: base.h:85
Definition: base.h:112
#define RCSIDH(h, id)
Definition: build.h:482
fr_bio_t * fr_bio_pipe_alloc(TALLOC_CTX *ctx, fr_bio_pipe_cb_funcs_t *cb, size_t buffer_size)
Allocate a thread-safe pipe which can be used for both reads and writes.
Definition: pipe.c:172
fr_bio_callback_t writeable
Definition: pipe.h:29
fr_bio_callback_t readable
Definition: pipe.h:28
int nonnull(2, 5))