Changeset 1304:4c024e764410 in roaraudio for include/libroar/vio_pipe.h
- Timestamp:
- 03/19/09 04:49:43 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vio_pipe.h
r1301 r1304 44 44 #define ROAR_VIO_PIPE_TYPE_SOCKET 3 45 45 46 #define ROAR_VIO_PIPE_S(self,stream) ((self->s0) == (stream) ? 0 : 1) 47 46 48 struct roar_vio_pipe { 47 49 int refcount; … … 52 54 int p[4]; 53 55 } b; 56 struct roar_vio_calls * s0; 54 57 }; 55 58 56 int roar_vio_open_pipe (struct roar_vio_calls * s1, struct roar_vio_calls * s2, int type, int flags); 59 int roar_vio_open_pipe (struct roar_vio_calls * s0, struct roar_vio_calls * s1, int type, int flags); 60 int roar_vio_pipe_init (struct roar_vio_calls * s, struct roar_vio_pipe * self, int flags); 61 62 ssize_t roar_vio_pipe_read (struct roar_vio_calls * vio, void *buf, size_t count); 63 ssize_t roar_vio_pipe_write (struct roar_vio_calls * vio, void *buf, size_t count); 64 int roar_vio_pipe_nonblock(struct roar_vio_calls * vio, int state); 65 int roar_vio_pipe_sync (struct roar_vio_calls * vio); 66 int roar_vio_pipe_close (struct roar_vio_calls * vio); 57 67 58 68 #endif
Note: See TracChangeset
for help on using the changeset viewer.