Displaying 1 result from an estimated 1 matches for "high_offset".
Did you mean:
  eightoffset
  
2010 Aug 31
0
istream_read like zlib, but without zlib
...because i don't know to
identify the EOF from the istream.
you can help me to identify the EOF and set it ?
Tks .!!!
static ssize_t i_stream_emx_read(struct istream_private *stream)
{
    struct emx_istream *emxstream = (struct emx_istream *)stream;
    const unsigned char *data;
    uoff_t high_offset;
    size_t size;
    int ret;
    fprintf(emxstream->debug,"READ Plugin\n");
    fflush(emxstream->debug);
    high_offset = stream->istream.v_offset + (stream->pos - stream->skip);
    if (emxstream->eof_offset == high_offset) {
        i_assert(emxstream->high_...