Changeset 3064:dc308b046282 in roaraudio
- Timestamp:
- 12/27/09 23:18:03 (14 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroar/vio_proto.h
r1349 r3064 44 44 #define ROAR_VIO_PROTO_P_GOPHER 2 45 45 46 struct roar_vio_proto { 47 struct roar_vio_calls * next; 48 struct { 49 struct roar_buffer * buffer; 50 } reader, writer; 51 }; 52 46 53 int roar_vio_proto_init_def (struct roar_vio_defaults * def, char * dstr, int proto, struct roar_vio_defaults * odef); 47 54 48 55 int roar_vio_open_proto (struct roar_vio_calls * calls, struct roar_vio_calls * dst, 49 56 char * dstr, int proto, struct roar_vio_defaults * odef); 57 58 ssize_t roar_vio_proto_read (struct roar_vio_calls * vio, void *buf, size_t count); 59 ssize_t roar_vio_proto_write (struct roar_vio_calls * vio, void *buf, size_t count); 60 off_t roar_vio_proto_lseek (struct roar_vio_calls * vio, off_t offset, int whence); 61 int roar_vio_proto_nonblock(struct roar_vio_calls * vio, int state); 62 int roar_vio_proto_sync (struct roar_vio_calls * vio); 63 int roar_vio_proto_ctl (struct roar_vio_calls * vio, int cmd, void * data); 64 int roar_vio_proto_close (struct roar_vio_calls * vio); 50 65 51 66 int roar_vio_open_proto_http (struct roar_vio_calls * calls, struct roar_vio_calls * dst, char * host, char * file);
Note: See TracChangeset
for help on using the changeset viewer.