Rev | Line | |
---|
[202] | 1 | //file.h: |
---|
| 2 | |
---|
| 3 | #ifndef _LIBROARFILE_H_ |
---|
| 4 | #define _LIBROARFILE_H_ |
---|
| 5 | |
---|
| 6 | #include "libroar.h" |
---|
| 7 | |
---|
[208] | 8 | #ifdef ROAR_HAVE_LINUX_SENDFILE |
---|
| 9 | #include <sys/sendfile.h> |
---|
| 10 | #endif |
---|
| 11 | |
---|
[555] | 12 | int roar_file_codecdetect(char * buf, int len); |
---|
[556] | 13 | ssize_t roar_file_send_raw (int out, int in); |
---|
| 14 | ssize_t roar_file_play (struct roar_connection * con, char * file, int exec); |
---|
[208] | 15 | |
---|
[649] | 16 | ssize_t roar_file_map (char * filename, int flags, mode_t mode, size_t len, void ** mem); |
---|
| 17 | int roar_file_unmap (size_t len, void * mem); |
---|
[202] | 18 | #endif |
---|
| 19 | |
---|
| 20 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.