1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

re-add some obsolete structs to make older programs compile

This commit is contained in:
Ralph Metzler 2017-12-05 19:20:51 +01:00
parent ca3c26808f
commit 6f164f38d8

View File

@ -131,6 +131,11 @@ struct ca_descr {
unsigned char cw[8]; unsigned char cw[8];
}; };
typedef struct ca_pid {
unsigned int pid;
int index;/* -1 == disable*/
} ca_pid_t;
#define CA_RESET _IO('o', 128) #define CA_RESET _IO('o', 128)
#define CA_GET_CAP _IOR('o', 129, struct ca_caps) #define CA_GET_CAP _IOR('o', 129, struct ca_caps)
#define CA_GET_SLOT_INFO _IOR('o', 130, struct ca_slot_info) #define CA_GET_SLOT_INFO _IOR('o', 130, struct ca_slot_info)
@ -138,6 +143,7 @@ struct ca_descr {
#define CA_GET_MSG _IOR('o', 132, struct ca_msg) #define CA_GET_MSG _IOR('o', 132, struct ca_msg)
#define CA_SEND_MSG _IOW('o', 133, struct ca_msg) #define CA_SEND_MSG _IOW('o', 133, struct ca_msg)
#define CA_SET_DESCR _IOW('o', 134, struct ca_descr) #define CA_SET_DESCR _IOW('o', 134, struct ca_descr)
#define CA_SET_PID _IOW('o', 135, struct ca_pid)
#if !defined(__KERNEL__) #if !defined(__KERNEL__)