Line | |
---|
1 | //file.h: |
---|
2 | |
---|
3 | #ifndef _LIBROARFILE_H_ |
---|
4 | #define _LIBROARFILE_H_ |
---|
5 | |
---|
6 | #include "libroar.h" |
---|
7 | |
---|
8 | #ifdef ROAR_HAVE_LINUX_SENDFILE |
---|
9 | #include <sys/sendfile.h> |
---|
10 | #endif |
---|
11 | |
---|
12 | int roar_file_codecdetect(char * buf, int len); |
---|
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); |
---|
15 | |
---|
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); |
---|
18 | #endif |
---|
19 | |
---|
20 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.