jose\_io\_t(3) Library Functions Manual jose\_io\_t(3)

# [NAME](#NAME)

jose\_io\_t - The interface for chained IO.

# [SYNOPSIS](#SYNOPSIS)

## [Data Fields](#Data_Fields)

bool(* **feed** )(**jose\_io\_t** \*io, const void \*in, size\_t len)  
Pushes data into the IO chain. bool(* **done** )(**jose\_io\_t** \*io)  
Completes the IO chain.

# [Detailed Description](#Detailed_Description)

The interface for chained IO.

**See also:**

**jose\_io\_malloc()**

**jose\_io\_buffer()**

**jose\_io\_file()**

**jose\_io\_multiplex()**

**jose\_b64\_enc\_io()**

**jose\_b64\_dec\_io()**

**jose\_jws\_sig\_io()**

**jose\_jws\_ver\_io()**

**jose\_jwe\_dec\_io()**

**jose\_jwe\_dec\_cek\_io()**

**jose\_jwe\_enc\_io()**

**jose\_jwe\_enc\_cek\_io()**

# [Field Documentation](#Field_Documentation)

## [bool(* jose\_io\_t::feed) (**jose\_io\_t** \*io, const void \*in, size\_t len)](#bool%28*_jose_io_t::feed%29_%28)

Pushes data into the IO chain.

**Parameters:**

*io* The **jose\_io\_t** entity you are using.  
*in* The input buffer.  
*len* The length of the data in the input buffer.

**Returns:**

Returns true if all data was consumed, otherwise false.

## [bool(* jose\_io\_t::done) (**jose\_io\_t** \*io)](#bool%28*_jose_io_t::done%29_%28)

Completes the IO chain. Any data stored in internal buffers will be flushed.

**Parameters:**

*io* The **jose\_io\_t** entity you are using.

**Returns:**

Returns true if flushing was successful, otherwise false.

# [Author](#Author)

Generated automatically by Doxygen for José from the source code.

Tue May 30 2017 José

---

Document: jose_io_t(3) from libjose 15-r5 (Chainguard OS)
Source: https://github.com/latchset/jose.git
