Skip to content

Commit

Permalink
Temp: sink
Browse files Browse the repository at this point in the history
  • Loading branch information
cburstedde committed Jan 16, 2024
1 parent e0b4e2a commit f7351ed
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/sc_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ typedef struct sc_io_sink
sc_io_mode_t mode; /**< write semantics */
sc_io_encode_t encode; /**< encoding of data */
sc_array_t *buffer; /**< buffer for the iotype
SC_IO_TYPE_BUFFER*/
size_t buffer_bytes; /**< distinguish from array elems */
\ref SC_IO_TYPE_BUFFER */
size_t buffer_bytes; /**< distinguish from array elements */
FILE *file; /**< file pointer for iotype unequal to
SC_IO_TYPE_BUFFER */
\ref SC_IO_TYPE_BUFFER */
size_t bytes_in; /**< input bytes count */
size_t bytes_out; /**< written bytes count */
int is_eof; /**< Have we reached the end of file? */
}
sc_io_sink_t;

Expand Down

0 comments on commit f7351ed

Please sign in to comment.