Changeset 1293:8e2deef687c3 in roaraudio for include/libroar/vio.h


Ignore:
Timestamp:
03/12/09 03:41:44 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added a lot calls for vio -> stdio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio.h

    r1291 r1293  
    110110 
    111111FILE *  roar_vio_to_stdio      (struct roar_vio_calls * calls, int flags); 
     112#if defined(ROAR_HAVE_FOPENCOOKIE) || defined(ROAR_HAVE_FUNOPEN) 
     113int roar_vio_to_stdio_close (void *__cookie); 
     114#endif 
     115#if defined(ROAR_HAVE_FOPENCOOKIE) 
     116__ssize_t roar_vio_to_stdio_read (void *__cookie, char *__buf, size_t __nbytes); 
     117__ssize_t roar_vio_to_stdio_write (void *__cookie, __const char *__buf, size_t __n); 
     118int roar_vio_to_stdio_lseek (void *__cookie, _IO_off64_t *__pos, int __w); 
     119#elif defined(ROAR_HAVE_FUNOPEN) 
     120int roar_vio_to_stdio_read(void *__cookie, char *__buf, int __nbytes); 
     121int roar_vio_to_stdio_write(void *__cookie, const char *__buf, int __n); 
     122fpos_t roar_vio_to_stdio_lseek(void *__cookie, fpos_t __pos, int __w); 
     123#endif 
    112124 
    113125 
Note: See TracChangeset for help on using the changeset viewer.