Ignore:
Timestamp:
04/15/07 23:37:21 (17 years ago)
Author:
r2d
Message:

added a way to open a reader with an already open file (patch by DEATH)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpc/branches/r2d/include/mpc/reader.h

    r195 r264  
    4040
    4141#include <mpc/mpc_types.h>
     42#include <stdio.h>
    4243
    4344#ifdef __cplusplus
     
    8081mpc_status mpc_reader_init_stdio(mpc_reader *p_reader, const char *filename);
    8182
     83/// Initializes reader with default stdio file reader implementation.  Use
     84/// this if you prefer to open the file yourself.
     85///
     86/// \param r p_reader handle to initialize
     87/// \param p_file input file handle (already open)
     88mpc_status mpc_reader_init_stdio_stream(mpc_reader * p_reader, FILE * p_file);
     89
    8290/// Release reader with default stdio file reader implementation.
    8391///
Note: See TracChangeset for help on using the changeset viewer.