Changeset 2059:916b1d6f2b91 in roaraudio for include/libroar/vio.h


Ignore:
Timestamp:
07/08/09 01:44:25 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

moved vio interface to stdio out of the main vio code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/vio.h

    r2058 r2059  
    9090                                                               char * server, int dir, char * name); 
    9191 
    92 int     roar_vio_open_stdio    (struct roar_vio_calls * calls, FILE * dst); 
    93  
    94 FILE *  roar_vio_to_stdio      (struct roar_vio_calls * calls, int flags); 
    95 #if defined(ROAR_HAVE_FOPENCOOKIE) || defined(ROAR_HAVE_FUNOPEN) 
    96 int roar_vio_to_stdio_close (void *__cookie); 
    97 #endif 
    98 #if defined(ROAR_HAVE_FOPENCOOKIE) 
    99 __ssize_t roar_vio_to_stdio_read (void *__cookie, char *__buf, size_t __nbytes); 
    100 __ssize_t roar_vio_to_stdio_write (void *__cookie, __const char *__buf, size_t __n); 
    101 int roar_vio_to_stdio_lseek (void *__cookie, _IO_off64_t *__pos, int __w); 
    102 #elif defined(ROAR_HAVE_FUNOPEN) 
    103 int roar_vio_to_stdio_read(void *__cookie, char *__buf, int __nbytes); 
    104 int roar_vio_to_stdio_write(void *__cookie, const char *__buf, int __n); 
    105 fpos_t roar_vio_to_stdio_lseek(void *__cookie, fpos_t __pos, int __w); 
    106 #endif 
    107  
    108  
    10992// possible VIOs: 
    11093 
     
    150133off_t   roar_vio_re_lseek(struct roar_vio_calls * vio, off_t offset, int whence); 
    151134 
    152 // stdio 
    153 ssize_t roar_vio_stdio_read    (struct roar_vio_calls * vio, void *buf, size_t count); 
    154 ssize_t roar_vio_stdio_write   (struct roar_vio_calls * vio, void *buf, size_t count); 
    155 off_t   roar_vio_stdio_lseek   (struct roar_vio_calls * vio, off_t offset, int whence); 
    156 int     roar_vio_stdio_sync    (struct roar_vio_calls * vio); 
    157 int     roar_vio_stdio_ctl     (struct roar_vio_calls * vio, int cmd, void * data); 
    158 int     roar_vio_stdio_close   (struct roar_vio_calls * vio); 
    159  
    160135#endif 
    161136 
Note: See TracChangeset for help on using the changeset viewer.