diff options
Diffstat (limited to 'service.h')
-rw-r--r-- | service.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/service.h b/service.h new file mode 100644 index 0000000..2fd4b14 --- /dev/null +++ b/service.h @@ -0,0 +1,27 @@ +/* + * service.h + */ + +#ifndef __SERVICE_H +#define __SERVICE_H + +#include <vdr/channels.h> + + +/* + * service-id: "Audiorecorder-StatusRtpChannel-v1.0" + * give me the channel, and i will set the actual status. + */ + +struct Audiorecorder_StatusRtpChannel_v1_0 { + const cChannel *channel; + int status; + /* + * 0 = channel is unknown + * 1 = channel is known, but no receiver is attached to this channel + * 2 = receiver is attached, but there is no actual recording + * 3 = actual recording + */ +}; + +#endif /* __SERVICE_H */ |