Project Name  Version 1.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
jh_stream_ts Struct Reference

Data Fields

int(* read )(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes)
 User-defined function that reads the number of bytes in a stream to a buffer.
int(* write )(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes)
 User-defined function that writes the number of bytes in a buffer to a stream.
int(* seek )(struct jh_stream_ts *stream, long long position, unsigned origin)
 User-defined function that navigates through a file and sets the reading position.
jh_dst_mgr_tpri

Detailed Description

Definition at line 132 of file jh_datatypes.h.

Field Documentation

int(* jh_stream_ts::read)(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes)

User-defined function that reads the number of bytes in a stream to a buffer.

Parameters
[in]streamData stream.
[in]bufferAddress where the data is to be stored.
[in]bytesNumber of bytes to be read.
Returns
Number of bytes written.

Definition at line 140 of file jh_datatypes.h.

int(* jh_stream_ts::seek)(struct jh_stream_ts *stream, long long position, unsigned origin)

User-defined function that navigates through a file and sets the reading position.

Parameters
[in]streamOutput data stream.
[in]positionReading position.
Returns
0 if the function does not succeed.

Definition at line 160 of file jh_datatypes.h.

int(* jh_stream_ts::write)(struct jh_stream_ts *stream, unsigned char *buffer, size_t bytes)

User-defined function that writes the number of bytes in a buffer to a stream.

Parameters
[in]streamOutput data stream.
[in]bufferAddress where the data is to be stored.
[in]bytesNumber of bytes to be written.
Returns
Number of bytes written.

Definition at line 150 of file jh_datatypes.h.


The documentation for this struct was generated from the following file: