ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

readers.c File Reference
#include "mpg123lib_intern.h"
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include "compat.h"
#include "debug.h"

Go to the source code of this file.

Defines

#define BUFFBLOCK   4096
#define bugger_off   { mh->err = MPG123_NO_READER; return MPG123_ERR; }
#define READER_STREAM   0
#define READER_ICY_STREAM   1
#define READER_FEED   2
#define READER_BUF_STREAM   3
#define READER_BUF_ICY_STREAM   4
#define O_BINARY   (0)

Functions

static int default_init (mpg123_handle *fr)
static off_t get_fileinfo (mpg123_handle *)
static long posix_read (int fd, void *buf, size_t count)
static off_t posix_lseek (int fd, off_t offset, int whence)
static long plain_fullread (mpg123_handle *fr, unsigned char *buf, long count)
static off_t io_seek (struct reader_data *rdat, off_t offset, int whence)
static long io_read (struct reader_data *rdat, void *buf, size_t count)
static void bc_init (struct bufferchain *bc)
static void bc_reset (struct bufferchain *bc)
static int bc_append (struct bufferchain *bc, long size)
static int bc_add (struct bufferchain *bc, const unsigned char *data, long size)
static long bc_give (struct bufferchain *bc, unsigned char *out, long size)
static long bc_skip (struct bufferchain *bc, long count)
static long bc_seekback (struct bufferchain *bc, long count)
static void bc_forget (struct bufferchain *bc)
static long plain_read (mpg123_handle *fr, void *buf, size_t count)
static long icy_fullread (mpg123_handle *fr, unsigned char *buf, long count)
static off_t stream_lseek (mpg123_handle *fr, off_t pos, int whence)
static void stream_close (mpg123_handle *fr)
static int stream_seek_frame (mpg123_handle *fr, off_t newframe)
static int generic_head_read (mpg123_handle *fr, unsigned long *newhead)
static int generic_head_shift (mpg123_handle *fr, unsigned long *head)
static off_t stream_skip_bytes (mpg123_handle *fr, off_t len)
static int stream_back_bytes (mpg123_handle *fr, off_t bytes)
static int generic_read_frame_body (mpg123_handle *fr, unsigned char *buf, int size)
static off_t generic_tell (mpg123_handle *fr)
static void stream_rewind (mpg123_handle *fr)
static long bc_need_more (struct bufferchain *bc)
static int feed_init (mpg123_handle *fr)
int feed_more (mpg123_handle *fr, const unsigned char *in, long count)
static long feed_read (mpg123_handle *fr, unsigned char *out, long count)
static off_t feed_skip_bytes (mpg123_handle *fr, off_t len)
static int feed_back_bytes (mpg123_handle *fr, off_t bytes)
static int feed_seek_frame (mpg123_handle *fr, off_t num)
static void buffered_forget (mpg123_handle *fr)
off_t feed_set_pos (mpg123_handle *fr, off_t pos)
static long buffered_fullread (mpg123_handle *fr, unsigned char *out, long count)
int bad_init (mpg123_handle *mh) bugger_off void bad_close(mpg123_handle *mh)
long bad_fullread (mpg123_handle *mh, unsigned char *data, long count) bugger_off int bad_head_read(mpg123_handle *mh
long unsigned long *newhead
bugger_off int 
bad_head_shift (mpg123_handle *mh, unsigned long *head) bugger_off off_t bad_skip_bytes(mpg123_handle *mh
long unsigned long *newhead
bugger_off int off_t len
bugger_off int 
bad_read_frame_body (mpg123_handle *mh, unsigned char *data, int size) bugger_off int bad_back_bytes(mpg123_handle *mh
long unsigned long *newhead
bugger_off int off_t len
bugger_off int off_t bytes
bugger_off int 
bad_seek_frame (mpg123_handle *mh, off_t num) bugger_off off_t bad_tell(mpg123_handle *mh) bugger_off void bad_rewind(mpg123_handle *mh)
void open_bad (mpg123_handle *mh)
int open_feed (mpg123_handle *fr)
static int open_finish (mpg123_handle *fr)
int open_stream (mpg123_handle *fr, const char *bs_filenam, int fd)
int open_stream_handle (mpg123_handle *fr, void *iohandle)

Variables

struct reader readers []
struct reader bad_reader

Generated on Fri May 25 2012 05:59:01 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.