Changeset 2059:916b1d6f2b91 in roaraudio for include
- Timestamp:
- 07/08/09 01:44:25 (15 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- include/libroar
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/libroar.h
r2058 r2059 93 93 #include "vio_magic.h" 94 94 #include "vio_bio.h" 95 #include "vio_stdio.h" 95 96 #include "vio_stack.h" 96 97 #include "vio_pipe.h" -
include/libroar/vio.h
r2058 r2059 90 90 char * server, int dir, char * name); 91 91 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 #endif98 #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 #endif107 108 109 92 // possible VIOs: 110 93 … … 150 133 off_t roar_vio_re_lseek(struct roar_vio_calls * vio, off_t offset, int whence); 151 134 152 // stdio153 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 160 135 #endif 161 136
Note: See TracChangeset
for help on using the changeset viewer.