summaryrefslogtreecommitdiff
path: root/service.h
blob: 2fd4b149c31b971e5953615757696efb9cea98fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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 */