Rev | Line | |
---|
[0] | 1 | //stream.h: |
---|
| 2 | |
---|
| 3 | #ifndef _ROARAUDIO_CLIENT_H_ |
---|
| 4 | #define _ROARAUDIO_CLIENT_H_ |
---|
| 5 | |
---|
| 6 | #define ROAR_BUFFER_NAME 80 |
---|
| 7 | |
---|
| 8 | #define ROAR_CLIENTS_MAX 64 |
---|
| 9 | #define ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT 4 |
---|
| 10 | |
---|
| 11 | struct roar_client { |
---|
| 12 | int fh; /* controll connection */ |
---|
| 13 | // int last_stream; /* id of the last stream created */ |
---|
| 14 | char name[ROAR_BUFFER_NAME]; |
---|
| 15 | int pid; |
---|
[437] | 16 | int uid; |
---|
| 17 | int gid; |
---|
[0] | 18 | char host[ROAR_BUFFER_NAME]; |
---|
| 19 | int execed; |
---|
| 20 | int streams[ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT]; |
---|
[345] | 21 | struct roar_acl_target * acl; |
---|
[0] | 22 | }; |
---|
| 23 | |
---|
| 24 | #endif |
---|
| 25 | |
---|
| 26 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.