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

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

Go to the source code of this file.

Data Structures

struct  wrap_data

Defines

#define IO_FD   1 /* Wrapping over callbacks operation on integer file descriptor. */
#define IO_HANDLE   2 /* Wrapping over custom handle callbacks. */
#define O_BINARY   0

Functions

static void wrap_io_cleanup (void *handle)
static void wrap_destroy (void *handle)
static struct wrap_datawrap_get (mpg123_handle *mh)
int attribute_align_arg mpg123_decode_frame (mpg123_handle *mh, long *num, unsigned char **audio, size_t *bytes)
int attribute_align_arg mpg123_framebyframe_decode (mpg123_handle *mh, long *num, unsigned char **audio, size_t *bytes)
long attribute_align_arg mpg123_tell (mpg123_handle *mh)
long attribute_align_arg mpg123_tellframe (mpg123_handle *mh)
long attribute_align_arg mpg123_tell_stream (mpg123_handle *mh)
long attribute_align_arg mpg123_seek (mpg123_handle *mh, long sampleoff, int whence)
long attribute_align_arg mpg123_feedseek (mpg123_handle *mh, long sampleoff, int whence, long *input_offset)
long attribute_align_arg mpg123_seek_frame (mpg123_handle *mh, long frameoff, int whence)
long attribute_align_arg mpg123_timeframe (mpg123_handle *mh, double sec)
int attribute_align_arg mpg123_index (mpg123_handle *mh, long **offsets, long *step, size_t *fill)
int attribute_align_arg mpg123_set_index (mpg123_handle *mh, long *offsets, long step, size_t fill)
int attribute_align_arg mpg123_position (mpg123_handle *mh, long frame_offset, long buffered_bytes, long *current_frame, long *frames_left, double *current_seconds, double *seconds_left)
long attribute_align_arg mpg123_length (mpg123_handle *mh)
int attribute_align_arg mpg123_set_filesize (mpg123_handle *mh, long size)
long wrap_read (void *handle, void *buf, size_t count)
off_t wrap_lseek (void *handle, off_t offset, int whence)
static long fallback_read (int fd, void *buf, size_t count)
static long fallback_lseek (int fd, long offset, int whence)
int attribute_align_arg mpg123_replace_reader (mpg123_handle *mh, long(*r_read)(int, void *, size_t), long(*r_lseek)(int, long, int))
int attribute_align_arg mpg123_replace_reader_handle (mpg123_handle *mh, long(*r_read)(void *, void *, size_t), long(*r_lseek)(void *, long, int), void(*cleanup)(void *))
int attribute_align_arg mpg123_open (mpg123_handle *mh, const char *path)
int attribute_align_arg mpg123_open_fd (mpg123_handle *mh, int fd)
int attribute_align_arg mpg123_open_handle (mpg123_handle *mh, void *handle)

Generated on Fri May 25 2012 05:58:59 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.