Cross Reference: /sssd-io/src/util/sss_iobuf.h

Lines Matching refs:iobuf

15  * @param[in]  mem_ctx      The talloc context that owns the iobuf
20 * @param[in] mem_ctx The talloc context that owns the iobuf
39 * The iobuf does not assume ownership of the data buffer in talloc terms,
42 * @param[in] mem_ctx The talloc context that owns the iobuf
44 * data is copied into the iobuf-owned buffer.
54 * @brief Returns the number of bytes currently stored in the iobuf
58 size_t sss_iobuf_get_len(struct sss_iobuf *iobuf);
66 size_t sss_iobuf_get_capacity(struct sss_iobuf *iobuf);
71 size_t sss_iobuf_get_size(struct sss_iobuf *iobuf);
76 uint8_t *sss_iobuf_get_data(struct sss_iobuf *iobuf);
86 * @param[in] iobuf The IO buffer to read from
88 * @param[out] _buf The buffer to read data into from iobuf
93 errno_t sss_iobuf_read(struct sss_iobuf *iobuf,
104 * @param[in] iobuf The IO buffer to read from
106 * @param[out] _buf The buffer to read data into from iobuf
110 errno_t sss_iobuf_read_len(struct sss_iobuf *iobuf,
117 * Attempts to write len bytes into the iobuf. If the capacity is exceeded,
118 * the iobuf module tries to extend the buffer up to the maximum capacity.
123 * @param[in] iobuf The IO buffer to write to
130 errno_t sss_iobuf_write_len(struct sss_iobuf *iobuf,
134 errno_t sss_iobuf_read_uint32(struct sss_iobuf *iobuf,
137 errno_t sss_iobuf_write_uint32(struct sss_iobuf *iobuf,
140 errno_t sss_iobuf_read_int32(struct sss_iobuf *iobuf,
143 errno_t sss_iobuf_write_int32(struct sss_iobuf *iobuf,
146 errno_t sss_iobuf_read_stringz(struct sss_iobuf *iobuf,
149 errno_t sss_iobuf_write_stringz(struct sss_iobuf *iobuf,