source: roaraudio/include/libroar/vio.h @ 595:b29ed52b1383

Last change on this file since 595:b29ed52b1383 was 595:b29ed52b1383, checked in by phi, 16 years ago

added parameter inst to vio struct members

File size: 393 bytes
Line 
1//auth.h:
2
3#ifndef _LIBROARVIO_H_
4#define _LIBROARVIO_H_
5
6#include "libroar.h"
7
8struct roar_vio_calls {
9 void * inst;
10 ssize_t (*read) (int fd, void *buf, size_t count, void * inst);
11 ssize_t (*write)(int fd, void *buf, size_t count, void * inst);
12 off_t   (*lseek)(int fildes, off_t offset, int whence, void * inst);
13};
14
15int roar_vio_init_calls (struct roar_vio_calls * calls);
16
17#endif
18
19//ll
Note: See TracBrowser for help on using the repository browser.