source: roaraudio/include/roaraudio/client.h @ 437:38e4b190c0e8

Last change on this file since 437:38e4b190c0e8 was 437:38e4b190c0e8, checked in by phi, 16 years ago

added support UID/GID of client

File size: 490 bytes
Line 
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
11struct 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;
16 int uid;
17 int gid;
18 char host[ROAR_BUFFER_NAME];
19 int execed;
20 int streams[ROAR_CLIENTS_MAX_STREAMS_PER_CLIENT];
21 struct roar_acl_target * acl;
22};
23
24#endif
25
26//ll
Note: See TracBrowser for help on using the repository browser.